eugene
eugene

Reputation: 41685

How can I give access to a path excluding a sub directory in SVN?

Suppose I have projects laid out like this.

Can I give a user access to Project_Home and all its subdirectories excluding D_Project directory?

Upvotes: 2

Views: 294

Answers (1)

Adrian Shum
Adrian Shum

Reputation: 40036

Yes you can.

This work with http access, or, iirc, svnserve with svn > 1.5.

in the access control config, do something like:

[repoName:/Project_Home]
user_name=rw
@group_name=rw

[repoName:/Project_Home/D_Project]
user_name=
@group_name=

Upvotes: 2

Related Questions