I have an SVN repository wherein I need to give a particular user read/write access to several specific folders. Access to the folder and its children is OK, but accessing the folder's parent is not OK.
Also, it's actually 2 separate folders I need this user to access -- and these 2 folders are not part of the same tree node (but eventually they are if you go up enough levels).
I have access to SVN's /conf/authz
, /conf/passwd
, and /conf/svnserve.conf/
files.
Add the following text to your authz specifying a user by name for path-based authorization ( <reponame> can be the name of any repository). To give Harry readonly access to the secret folder then do the following. These will specifically deny a user from having any less restrictive inherited permissions.
Subversion has no concept of permissions or users or logins. That might sound strange to the vast majority of people who use Subversion since they need to use accounts and logins, but Subversion does not handle security directly.
Add the following text to your authz specifying a user by name for path-based authorization (<reponame>
can be the name of any repository).
[<reponame>:/branches/calc/bug-142/secret] harry =
To give Harry readonly access to the secret folder then do the following.
[<reponame>:/branches/calc/bug-142/secret] harry = r
These will specifically deny a user from having any less restrictive inherited permissions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With