Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Subversion configuration



On Wed, Jan 20, 2010 at 10:06 AM, Derek Atkins <warlord-3s7WtUTddSA at public.gmane.org> wrote:
>
> With svn+ssh you can just put all your users into an 'svn' group and
> then chgrp your repo to be rw by members of group svn, and then setgid
> to maintain the settings.

That would be something like:

$ chgrp -R svn /path/to/repo
$ find /path/to/repo -type d -exec chmod 2770 {} \;
$ find /path/to/repo -type f -exec chmod 0660 {} \;

Users will also need a umask of 0002 for this to work as expected.

If many repositories will exist on the server, it would be better to
define more fine-grained groups for each project domain, and then
adjust the group ownership of the repositories accordingly.






BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org