[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Permission troubles (docbug/change request)

From: Joachim Durchholz <jo_at_durchholz.org>
Date: 2007-11-26 14:22:17 CET

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.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 26 14:28:06 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.