SVNParentPath directory authorization

Posted by James on Server Fault See other posts from Server Fault or by James
Published on 2013-07-03T12:18:19Z Indexed on 2013/07/03 17:08 UTC
Read the original article Hit count: 401

Filed under:
|
|

The question is a bit stupid but I can't get it sorted. I have a server with SVN that uses the SVNPath directive in httpd.conf and all works fine with path authorizations. Now I'm installing a second serer where I'm going to use SVNParentPath directive and I've got it all running except I can't get the authorization part quite right. From what I understand it's the same as when you use SVNPath but you need to specificy the repo name before the folder name.. My SVNParentPath is /srv/svn/ and I created a directory /srv/svn/testproj and then ran

svnadmin create /srv/svn/testproj

Now i'm configuring my authorization file:

[/]
* =
svnadmin = rw
adusgi = rw

[testproj:/svn/testproj]
demada = rw
degari = rw
scarja = rw

Now if I try to commit /svn/testproj using user svnadmin or adusgi all is fine. If I try for example demada it doesn't work... (I've run the htpasswd2 commands for the user obviously. The directory is correct or atleast thats how I use the directory with the SVNPath server thats already running, the part I think I'm getting wrong is the repo name, I just used the directory name but what am I really supposed to put there??

Thank you, James

© Server Fault or respective owner

Related posts about svn

Related posts about directory