0

I had installed Apache SVN over Ubuntu 16 . in which i am trying to put access base restriction for different path by AuthzSVNAccessFile /svn/net location. hear i am facing issue for [/] groups are getting restricted but apart from this location any path is not getting restricted inspite of trying multiple combination in access file.

Server.conf
<Location /svn>
  DAV svn
  SVNParentPath /svn/repos/
  AuthzSVNAccessFile /etc/svn_serve.conf
  AuthType Basic
  AuthName "MITS"
  AuthUserFile /etc/svnpasswd
  Require valid-user
 </Location>

Access file

[groups]
admins=svnnet
designers=designer1
[/]
@admins=r
[/svn/net]
@designers=r
@admins=rw
0

After struggling for some time i found out the mistake i was doing in. The bellow config file after giving repo name remaining path should be the folders you created nt starting from source folder.

Access file

[groups]
admins=svnnet
designers=designer1
[/]
@admins=r
[svn:/net]
@designers=r
@admins=rw

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.