> From: Nalini Kumar [mailto:nku...@actiontec.com]
> 
> "svn: Can't open file
> '/var/lib/svn/bcm/db/txn-current-lock': Permission
> 
> $  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

Of course, the more relevant information would be:
ls -ld /var /var/lib /var/lib/svn /var/lib/svn/bcm /var/lib/svn/bcm/db
/var/lib/svn/bcm/db/txn-current-lock

Even so, I'm assuming you already did that, and the perms are right.

Does ubuntu use selinux?  Or something else instead?  What about ACL's?

I know it's certainly possible in other OSes, for selinux to block apache
from accessing something, even when the permission bits are set correctly.
By default, apache writing to /var/lib would be a suspicious activity...
Not sure if you installed these things from native packages (via apt or
synaptics package manager) ... If you didn't install using the native
packages, I would suggest you try.  For this, and many other reasons.

Reply via email to