user permissions
Using SVN with svn+ssh with multiple users while keeping appropriate file permissions.
Posted June 26th, 2009 by Adam
If you’re using SVN and accessing the repository through ssh using svn+ssh it might be the case that one user creates a file with file permissions that disallow other users from checking out/committing. I managed to solve this problem by first creating a new user group (addgroup group) and then adding the users to that group (addgroup user group), finally i did chown -R oneuser:group /path/to/repository and chmod -R 2770 /path/to/repository. I’m actually not exactly sure how the “2” behaves, but it fiddles with the umask so no problems of this kind occurs.