= General = {{{ emerge subversion emerge --config dev-util/subversion }}} create a group for svn {{{ groupadd -g 1010 svngrp }}} edit /etc/conf.d/svnserve and change the group {{{ #SVNSERVE_USER="apache" SVNSERVE_GROUP="svngrp" }}} Start the service and add it to default runlevel {{{ /etc/init.d/svnserve start rc-update add svnserve default }}} = Setting up access rights = I currently create a new group for each repository and assign users to the group if they need read/write access. {{{ cd /var/svn/ chmod -R 770 repos chmod -R g+s repos/db chgrp -R svngrp repos }}} (svngrp is the group name that I created in /etc/group to hold the svn users) Edit /etc/groups and add the users to the group svngrp Edit /var/svn/repos/conf/svnserve.conf (and set the following parameters) {{{ anon-access = read auth-access = write password-db = passwd realm = TTD_SVN }}} Edit /var/svn/repos/conf/passwd and add the users (see examples) = Setting up SSH access = Users that use the svn need to have ssh access set up correctly to the server. This has to be done by ssh-keys. See http://linuxproblem.org/art_9.html