You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Robert Denton <ro...@headsprout.com> on 2006/08/23 21:46:27 UTC

Help with svn-acl

Hello All,

Thanks for listening.  I have recently installed SVN for my company  
and I am tasked with locking it down on a per directory basis (which  
is a good idea, and which I intended to do all along).

I have the following pieces in the config for this:

In the apache config file I have :
Include E:/svnconf/subversion.conf

In the subversion.conf file I specify:
AuthType Basic
AuthName "Geeks Repo"
AuthUserFile E:/svnconf/secret

Require valid-user

AuthzSVNAccessFile E:/svnconf/access.conf

In the access.conf file I have the following:
#
[groups]
eng = john, joe, dave,
#
[/]
@eng = rw
* = r
#
[/trunk/sec]
joe = rw
#

However, only the [/] is working, the [/trunk/brainstorm] section is  
not.  I have attempted to specify the name of the repository which I  
*thought* was 'geeks-repo' like this: [geeks-repo:/trunk/brainstorm],  
but that also doesn't work.  When I browse to the repository in  
firefox I get "Revision 17:/", which makes me think that I had the  
name of the repository wrong!!

So my questions, initially, are two-fold:

1. is there a good way to determine the name that should go before  
the : (colon), or for determining the names of all repositories on a  
server?

2. Is the AuthzSVNAccessFile method for controlling access the  
favored method or is there a better way I have not determined?

Thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org