[lug] subversion setup

Hugh Brown hugh at math.byu.edu
Wed Apr 2 18:09:56 MDT 2008


karl horlen wrote:
> I've traditionally been a cvs user but finally jumped ship and installed svn on my server today.  It's straightforward enough but I'm having trouble finding info on one topic.
> 
> It looks like svn was designed to work remotely using a variety of methods  including apache, ssh.  I'm not interested in any of the remote features.  I just want to use it locally on the box.  
> 
> My question is whether or not subversion installs by default with remote capabilities enabled or if it's completely locked down?  If not, what do I have to do to lock it down and limit it to local use?  Is there a configuration option that I can check to confirm my installed remote capabilities?
> 
> And since I'm already asking.  What's the best practice for using svn with multiple users / permissions?  I'd like to be able to check a couple of different projects in that will be tied to different user login ids.  The install didnt create a new svn group or user.  The executable was installed as root and is executable by all.  Do I need to create an 'svn' group and add users to it to make this work?  Or does svn not care?
> 
> If each user keeps to their own project, I can see how svn might simply create each repo owned by the user id that performs the create.
> 
> However, if multiple users need to share a repo, I imagine I have to create a shared group and tie those group perms to the shared repo?
> 
> thanks
>

If you are only doing local use of a subversion repository then you use 
the file:// uri to access it and file permissions to control who can 
access it.  If you allow incoming ssh, then anyone with an account will 
also have remote access (if they have local access).

Hugh



More information about the LUG mailing list