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

Re: Securing SVN directories

From: Marko Käning <mk362_at_mch.osram.de>
Date: Fri, 21 Nov 2008 15:05:25 +0100 (CET)

Hi Oliver,

when I create a new repo I set it up for access for a certain user group.
The adjustments to file permission necessary for proper funtioning I set
right after creation of the bare repo like this:

    svnadmin create $REPOPATH/$REPONAME
    (
        cd $REPOPATH

        chown -R $USER:$GROUP $REPONAME
        chmod -R g+w $REPONAME

        chmod g+s $REPONAME/db
        chmod g+s $REPONAME/db/revprops
        chmod g+s $REPONAME/db/revs
        chmod g+s $REPONAME/db/transactions

        chmod g-w $REPONAME/format
        chmod g-w $REPONAME/db/format
    )

Hope this helps.

Regards,
Marko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-11-21 15:06:01 CET

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.