Hi folks,
I created an SVN repository in /usr/local/svn. I chose this location in part based on what I learned at
www.pathname.org regarding the intended use of standard "Unix" directories.
The permissions of that whole hierarchy (/usr and below) are
Code:
drwxr-xr-x@ 12 root wheel ....
I'm accessing SVN
locally. So, when I use any svn command I get a permissions error such as that below:
Code:
$ svn import myProject file:///usr/local/svn/myProject
svn: Can't open file '/usr/local/svn/db/txn-current-lock': Permission denied
My questions are:
- What permissions should I set for the directory /usr/local/svn?
- Should I install the svn commands setuid root instead of changing the permissions on /usr/local/svn?
- Should I just place the SVN repository in a different location?
I know I can just do #3 and everything will be ok. However, I would like to understand "
the right" way to do it. :-)
Many thanks,