svn server for multiple repositories
svn allows any user to run the svnserver, but this creates a problem when more than one user wants to create svnserver on a system. the user can work around by specifying a different port, but here i give a better solution for it.
run a svn server and set the root directory as world writeable directory, where anyone can create a softlink to his repository. i set it to /home/svn.
adding a service for svn server makes things better. it will help to automatically start the svnserver on system restart. here is the xinetd file for svn server.
# default: on# description: The svn server serves svn sessions \# create a soft link of the actual repository in /home/svn/
service svn{ disable = no port = 3690 socket_type = stream protocol = tcp wait = no user = root server = /usr/bin/svnserve server_args = -i -r /home/svn}
put the above in /etc/xinetd.d/svn and restart xinetd service and make /home/svn world writeable ( chmod a+rwx /home/svn; chmod +t /home/svn )
now just create a soft link of your svn repository in /home/svn with any name and you will be able to access the repository with the name of the soft link you created. to test just run svn list svn://localhost/<soft-link-name> and you should be able to see the contents of your repository.





