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

Repository access control (authz) issues

From: Joshua Oreman <oremanj_at_gmail.com>
Date: 2007-08-27 18:37:36 CEST

Hi svn-users.

I'm trying to set up an svnserve repository with the normal access
control paradigm of "anonymous access R/O, authenticated access R/W",
with an exception for one subtree: there, only one user should be able
to read or write.

My config files are set up in what seems to be a sensible way:

==> svnserve.conf <==
[general]
anon-access = read
auth-access = write
password-db = passwd
authz-db = authz

==> passwd <==
[users]
privuser = secret

==> authz <==
[groups]
committers = person1, person2, privuser

[/]
* = r
@committers = rw

[/private]
* =
privuser = rw

With this setup, access to directories outside /private works fine,
but trying to check out /private gives me an authentication challenge,
creates a local working copy of 'private', and then gives

svn: Not authorized to open root of edit operation

Googling this error message yielded
http://svn.haxx.se/users/archive-2006-02/1208.shtml, which was
informative but didn't seem to quite apply (I *am* challenged for
authentication; it just fails thereafter.)

Anyone know what might cause this behavior?

Thanks.

-- Josh

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Aug 27 18:35:11 2007

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