Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a svn repository, but I want to control the access, For example one of the group have access for test folder but don't have access for the test2 folder. It's possible this, or I have to create different repository if I want to reach this goal?

share|improve this question
up vote 2 down vote accepted

The way you set up permissions and ACLs in a SVN repository depends on the way this repository is accessed. You can apply restrictions to each folder in a repository only with the first two methods.

  • If it is served via HTTP/HTTPS then it works like it is a DAV directory and the configuration is done via Apache configuration files.
  • If it is served via plain svnserve daemon then you must use its own configuration file.
  • If it is svnserve incapsulated in SSH then the usual filesystem permissions apply, so you must set up different repositories if you want to give different rights to different groups on different directories of the repo.

A full answer here would be too long and ineffective. So I invite you to read the SVN book, especially the chapter 6: server configuration.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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