Using SVN with svn+ssh with multiple users while keeping appropriate file permissions.

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.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. Beside the tag style "<foo>" it is also possible to use "[foo]".

More information about formatting options