I am using an authz file to restrict access to a subversion server (svnserve). I would like to grant a user read-write access to a specific project in a repository, but no access to other projects in the same repository. My authz file looks like this:
[groups]
trusted = userA,userB,userC
[/]
@trusted = rw
* =
[repo1:/project1]
userD = rw
However with this authz file, userD can only read, but not write to /project1.
If I add the following:
[repo1:/]
userD = r
Then userD can both read and write to /project1.
This does not make any sense to me. According to the subversion book, "the most specific path always matches first", so there should be no need for this. Furthermore, I can't understand that setting read permission is what actually lets this user write to the project.
Can anyone help?