Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Bug fix. Missing instructions on permissions.

...

Code Block
languagebash
su - serveradmin
svnadmin create --fs-type fsfs /opt/svn-data/hamsters

Setting

...

Permissions on the Repository for WebDAV

After the repository is created, in order for the WebDAV process to work with the repository you need to change the permissions,

Code Block
languagebash
cd /opt/svn-data
sudo chown -R www-data:subversion hamsters
sudo chmod -R g+rws hamsters

Backup and Restore

Warning

Hi Roderick, the convention is to explain the action then issue the command. Below here it looks like you sometimes issue the command then explain. Please fix. Tin.

Checks the number of revisions in a repository

...

Loads repository from dump file.

Setting Permissions on the Repository for WEBDAV

Similar to creating a repository permissions must also be set,

Code Block
languagebash
cd /opt/svn-data
sudo chown -R www-data:subversion gerbils
sudo chmod -R g+rws gerbils
Warning

Still to write is an entry on UUID when restoring from a shadow repository.

References

http://svnbook.red-bean.com/en/1.4/svn.intro.whatis.html
http://www.howtoforge.com/debian_subversion_websvn - Debian instructions more straight forward
http://confluence.atlassian.com/display/CROWD/Integrating+Crowd+with+Subversion - Integrating with Crowd
http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.reposadmin.maint.migrate - Indepth explanation on migrating repositories