![]() In this section, we will see how to configure SVN for all these access methods. Same as svn://, but through an SSH tunnel Access via WebDAV protocol to Subversion-aware Apache 2 web serverĪccess via custom protocol to an svnserve server The table describes how different URL schemas map to the available access methods. A repository location, however, is always a URL. Subversion repositories can be accessed (checkout) through many different methods-on local disk, or through various network protocols. This can be changed by repeating the chown and chgrp commands listed above. ![]() Also the owner and group are set as root. This is no problem for read only access or using the custom svn protocol but when Apache tries to commit changes to the repository linux will deny it access. This is because svnadmin will create directories and files without group write access. If you want to use WebDAV as an access method described below, repeat the chmod -R g+rws myproject command again. The last command sets gid for proper permissions on all new files added to your Subversion repository. $ sudo chown -R www-data:subversion myproject ![]() The SVN repository can be created using the following command: $ sudo svnadmin create /home/svn/myprojectĪnd use the following commands to correct file permissions: $ cd /home/svn Now issue the following commands: $ sudo mkdir /home/svn You have to logout and login again before you are a member of the subversion group, and can do check ins.
0 Comments
Leave a Reply. |