Hi,
I am new to SVN and wish to setup the repository through for one of my projects.


I am using ubuntu and installed apache2 and subversion 1.6.12. the system has apache user setup and all the repositories are owned by apache (group apache).

I have created a passwd file using the command, "sudo htpasswd -b /etc/subversion/svn-passwd-file bliu bepbbq".

I use svn co http://127.0.0.1/svn/bcm/trunk to checkout the code. checkout has no issues. However when I try to check in a modified file from bcm/trunk, I get this error, "svn: Can't open file '/var/lib/svn/bcm/db/txn-current-lock': Permission denied". I was not even prompted for the passwd for the user bliu.

dav_svn.conf
=============

<Location /svn>
  DAV svn
  SVNParentPath /var/lib/svn
  AuthType Basic
  AuthName "Subversion Repository"
  AuthUserFile /etc/subversion/sub-passwd-file
<LimitExcept GET PROPFIND CHECKOUT PROPPATCH PUT MERGE DELETE MKACTIVITY OPTIONS REPORT>
    Require valid-user
  </LimitExcept>
</Location>

$  ls -al /var/lib/svn
total 16
drwxr-xr-x  4 apache apache 4096 2010-12-02 18:21 .
drwxrwxrwx 75 root   root   4096 2010-12-06 01:09 ..
drwxr-xr-x  7 apache apache 4096 2010-12-03 15:08 bcm
$
what is that I am doing wrong ?
FYI, apache is not in sudoers list.

I appreciate your help.

regards
Nalini Kumar.

Reply via email to