[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

permission issues with apache and subversion

From: Nalini Kumar <nkumar_at_actiontec.com>
Date: Mon, 06 Dec 2010 01:31:03 -0800

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.
Received on 2010-12-06 10:31:40 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.