Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set permissions in an svn repository?

I created a repository on a network drive with svnadmin create repos.

Is there a way to set user permissions to the repository?

And if that is the case how can those permissions be set?

like image 362
Woltan Avatar asked Feb 15 '12 10:02

Woltan


1 Answers

If you need to manage access via svn:// protocol (embedded authorization), all you need to do is to change files in conf folder of your newly created repository:

  1. Set up passwd (repos/conf/passwd) in order to define a list of users and passwords
  2. Set up authz (repos/conf/authz) in order to define groups and privileges
  3. Set up svnserve.conf (repos/conf/svnserve.conf) in order to define general access configuration

Here is simple guide of how to edit and configure access to your repository. Also you can consult official documentation in order to dive into subversion access management.

In case you need to manage access via http:// protocol, you might like to consult official subversion documentation on this matter, it's a bit more complex topic than embedded subversion authorization.

like image 173
altern Avatar answered Oct 13 '22 21:10

altern