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

Re: group permissions

From: Bob Hiestand <bob.hiestand_at_gmail.com>
Date: 2007-04-05 22:22:13 CEST

On 4/4/07, Brian Lewis <bsl04@uark.edu> wrote:
> My users access repositories using the svn+ssh method. They're in groups
> named identically to the repository names. After I svnadmin create
> reponame, what is the proper way to chown reponame/ to prepare it to be
> used by users in the reponame group?

I do not know my setup to be correct.

I created a wrapper svnserve script:

#!/bin/sh
umask 002
/opt/svn/bin/svnserve.svn $*

For the repository permissions and ownership, I executed an
approximation of the following:

umask 007
svnadmin create ${repo}
chown -R svn:${group} ${repo}
chmod -R g-w $repo/conf $repo/hooks

Basically, this reserves the ability to write to conf and hooks to the
single 'svn' user, which is our admin user.

Thank you,

Bob
cd $repo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 5 22:22:39 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.