The default behavior for subversion tools used through an ssh connection (svn+ssh://) is to create or update files in the repository using the umask set for the user. This is undesirable, as this may imply permission problems and corrupted repositories. Setting umask at user level would be cumbersome and inappropiate. It would be desirable to create wrapper scripts to set the desired umask only when running subversion tools. This would be probably something like the following: #!/bin/sh # Generic wrapper for svn commands to enforce correct umask umask 002 cmdname=`basename $0` exec /usr/bin/$cmdname "$@" Then you could create links to this wrapper script: ln -s svnwrap svn ln -s svnwrap svnlook ln -s svnwrap svnadmin ln -s svnwrap svnserve Do you think this could be included in the subversion ebuild? If so I could provide a patch. Thanks in advance Reproducible: Always Steps to Reproduce:
*** This bug has been marked as a duplicate of 48809 ***