Andrei
Andrei

Reputation: 1193

SVN. Access Rights

I can not properly configure access rights. Once the rule does not seem to work. some directory - as it should be and some not.

I have a repository in two folders - one, two. three users - admin, user, guest. Rights needed are:

I wrote in svnserve.conf:

 anon-access = none 
 auth-access = write 
 authz-db = /svn.acl

Added to the file /etc/apache2/conf.d/svn:

AuthzSVNAccessFile /etc/apache2/svn.acl

File svn.acl:

[/]
admin = rw
* = 

[/one]
user,quest = rw

[/two]
admin = rw
* =

in the end user still sees the two directory ! what could be wrong?

Upvotes: 2

Views: 447

Answers (1)

alroc
alroc

Reputation: 28144

Just as with UNIX directory permissions, users can see that a directory they don't have permission to access exists, but they cannot see the contents of that directory. No user should be able to see inside /two.

Upvotes: 1

Related Questions