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

path based authorisation

From: Mathias Kende <mathias.kende_at_ens.fr>
Date: Sun, 06 Jul 2008 01:09:37 +0200

Hello,

I have a problem with path-based authorisation: I have a repository
which can be read be anonymous user, and wrote be identified user (I am
using svnserve). But there is one directory (lets say /private) which I
don't want readable for anonymous user.
I can't find what I need to put in the authz file for this. I have only
a few users so I can list them all in the authz file, but there is a lot
of directory so I would prefer that only the /private directory be
mentioned in the authz file.

Here is what I have now:
-------- authz file for the repository -----
        [groups]
        users = mathias, tom, ...
        
        [repos:/]
        * = r
        @users = rw
        
        [repos:/private]
        * =
        @users = rw
--------------------------------------------

But even authentified user cannot get access to the /private directory.
When I try to check out this directory, I am first asked for an
username/password and then there is this error message:
        svn: Not authorized to open root of edit operation

Can anyone help me to find the proper syntaxe to use for the config
file ?

Thanks.

Mathias
        

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-06 01:40:24 CEST

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

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