You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Joachim Durchholz <jo...@durchholz.org> on 2007/11/26 13:22:17 UTC

Permission troubles (docbug/change request)

Hi all,

Here's a couple of problems that created trouble while I tried setting 
up an SVN repository for access via svn+ssh through multiple user accounts.

1) [docbug] Please add the usual Linux commands for setting up the right 
permissions. These are:
   cd /path/to/repository
   chmod g+s db
   chmod g+w `find -perm -u+w`
First command sets the sgid flag on the db directory so that new log 
files will be automatically created with the correct group owner.
Second command finds all files and directories with a write permission 
for the owner and adds write permissions for the group. (Without this, 
creating a new log file will fail.)
2) [change request] There are multiple svn* commands, and writing a 
wrapper script for each of them to set the umask is tedious and 
error-prone. Even the svnbook got it wrong if I'm not mistaken, it does 
not list svnserve.
To fix this, I'd like to see a umask option for SVN in general and/or on 
a per-repository basis. Or merge all these commands into the 'svn' 
command so that it's enough to wrap 'svn' itself ;-)

Comments&corrections welcome.

Regards,
Jo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org