[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: authz problem: mixing anon access + protected directory.

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Thu, 17 Jul 2008 14:21:25 -0400

Daniel Shahaf wrote:
> C. Michael Pilato wrote on Wed, 16 Jul 2008 at 16:35 -0400:
>> Omry Yadan wrote:
>>> Hi,
>>>
>>> I believe I found a bug with the behavior of SVN when working with
>>> directories protected in authz.
>>>
>>> I tested it with svn 1.5.
>>>
>>> my goal is to have a repository which is accessible anonymously, with a
>>> protected directory that is only available to specific users.
>>>
>>> the problem is that when I check out from the repo, I don't get the
>>> protected directory even when my user is supposed to have full (read
>>> write) access to it (when I check-out, the protected dir is skipped).
>> You'll want to read this:
>> http://blogs.open.collab.net/svn/2007/03/authz_and_anon_.html
>>
>
> Which (if any) of the workarounds described there is implemented for the
> svn-org repository? Is there a reason we don't use the last one (quoted
> below)?
>
> """
> Finally, you could setup a second <Location> block in your
> httpd.conf file which points to the same repository but with
> a slightly different URL (for example, with "-no-anon" appended to
> it). In this block, disallow anonymous access. Then add a matching
> redundant entry in your authz file, too:
>
> [repository-no-anon:/]
> * =
> @writers = rw
> """

I am using that workaround for svn-org.
http://svn.collab.net/repos/svn-org-no-anon/

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on 2008-07-17 20:21:43 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.