Changes between Version 2 and Version 3 of Subversion


Ignore:
Timestamp:
12/22/08 12:34:36 (15 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Subversion

    v2 v3  
    1919}}}
    2020
     21= Setting up access rights =
     22I currently create a new group for each repository and assign users to the group if they need read/write access.
     23{{{
     24cd /var/svn/
     25chmod -R 770 repos
     26chmod -R g+s repos/db
     27chgrp -R svngrp repos
     28}}}
     29(svngrp is the group name that I created in /etc/group to hold the svn users)
    2130
    22 = Setting up access rights =
    23 Setting up a new repository. I currently create a new group for each repository and assign users to the group if they need read/write access.
     31Edit /etc/groups and add the users to the group svngrp
     32
     33
     34Edit /var/svn/repos/conf/svnserve.conf (and set the following parameters)
    2435{{{
    25 1) cd /var/svn
    26 2) mkdir foorepo
    27 3) svnadmin create foorepo
    28 4) chmod -R 770 foorepo
    29 5) chmod -R g+s foorepo/db
    30 6) chgrp -R svn-foorepo foorepo
    31 (svn-foorepo is the group name that I created in /etc/group to hold the svn users)
     36anon-access = read
     37auth-access = write
     38password-db = passwd
     39realm = TTD_SVN
    3240}}}
     41Edit /var/svn/repos/conf/passwd and add the users (see examples)
     42
     43= Setting up SSH access =
     44Users that use the svn need to have ssh access set up correctly to the server. This has to be done by ssh-keys.
     45
     46See http://linuxproblem.org/art_9.html
     47