Creating a new subversion repository with svn+ssh

Create the repository

Switch the the svnrepo user.

Choose a repository root directory, all subversion files will exist inside here.

svnrepo@turtle:~> svnadmin create /home/svnrepo/demo_project

Secure directory using group permissions

use chmod to change the permissions:

svnrepo@turtle:~/demo_project> chmod g+w db
svnrepo@turtle:~/demo_project> cd db
svnrepo@turtle:~/demo_project/db> chmod g+w txn-current-lock transactions/ txn-protorevs/ write-lock
svnrepo@turtle:~/demo_project/db> chmod g+w -R revprops/ revs/

 

Published: Friday, 11 June 2010