Tom Smykowski
Tom Smykowski

Reputation: 26129

How to restrict SVN repository user account to one directory?

I have a SVN repository with a user in passwd:

[users]
Mark = 8d9"'8V2;

Now i would like to restrict this user privilages (permissions) only to commit and update this directories:

/CurrentProject/Printer
/CurrentProject/Scanner
/CurrentProject/Documentation

How to acomplish this?

Upvotes: 2

Views: 4749

Answers (1)

Lachlan Roche
Lachlan Roche

Reputation: 25966

Check out Path-Based Authorization in the SVN Book.

In svnserve.conf, specify a authz-db file. And in that file say something like the following.

[/]
Tomas = rw

[/CurrentProject]
Mark = rw

Upvotes: 3

Related Questions