views:

41

answers:

1

We have a repository running on subversion 1.6.6 on Ubuntu server. While adding a new file to the working copy and committing it to the repo, we get the error

Can't open file '/var/svn/mobilesync/db/txn-current-lock': Permission denied

What is the issue and what can I do about it ? Is it a matter of a lock created by a previous process instance that didn't get removed because of some error ?

Thank you,

UPDATE Here were the commands that I used to create the repo

1) sudo svnadmin create myrepo
2) sudo chown  www-data:www-data myrepo
A: 

I fixed this problem by changing the second command

sudo chown -R www-data:subversion myrepo

and then I was able to commit my files.

anjanb