I want to set up some Subversion repositories, to be accessed via SVN+SSH, so that each repository is owned by a different group and is only accessible for reading and writing by the group's members. This is what I did so far:
sudo addgroup myproject sudo mkdir -p /svn/myproject sudo svnadmin create /svn/myproject sudo chown -R :myproject /svn/myproject sudo chmod -R g+rws /svn/myproject
However, something with my setup is not working properly...
- Even though
useroneis not a member of the
useronecan checkout the whole repository. (Is this because
useroneis member of the
usertwois a member of the
myprojectgroup, but cannot commit to the repository due to an error:
permission denied while accessing /svn/myproject/db/revprops/__something__/__something__
Point 1) is an issue because it may mean everyone with shell access to the machine can checkout the code. Point 2) is problematic because a user with (apparently) the right permissions can't commit to the repository.
What am I doing wrong in this setup?