Subversion configuration

David Hummel lemmuh-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Wed Jan 20 10:29:53 EST 2010


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.





More information about the Discuss mailing list