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

authz problem: mixing anon access + protected directory.

From: Omry Yadan <omry_at_yadan.net>
Date: Wed, 16 Jul 2008 23:24:08 +0300

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).

however - when I access the repository through webdav, everything seems
to work as expected.

here is a sample configuration that reproduces it:

--- APACHE CONF:

<Location /svn>
    DAV svn
    SVNParentPath /var/lib/svn
    AuthType Basic
    AuthName "Stuff be here"
    AuthUserFile /var/lib/svn/users
    # try anonymous access first, resort to real
    # authentication if necessary.
    Satisfy Any
    Require valid-user
    AuthzSvnAccessFile /var/lib/svn/authz
</Location>

---- AUTHZ:

[groups]

[repo:/]
* = r
omry = rw

[repo:/trunk/protected]
* =
omry = rw

Is this a known issue?

    Omry Yadan.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-07-16 22:24:33 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.