Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

svn txn-current-lock permission denied

Tags:

svn

ubuntu

I had a subversion checked out to /home/svn/docs, then i chose to use a different path, removed that dir with rm-rf and checked out a new repository to my home/user/docs dir. that worked fine. If i now want to commit something it says:

svn: Can't open file '/home/svn/docs/db/txn-current-lock': Permission denied

I am running ubuntu

like image 895
ted Avatar asked Jan 11 '11 19:01

ted


1 Answers

It looks like your subversion repository is present in /home/svn/docs and you do not have write permission. Possibly the repository is created as a different user and the commit is being done as a different user.

One way to address this is by ensuring all subversion users belong to the same group and this group has write access to the repository folder.

like image 140
Raghuram Avatar answered Sep 18 '22 11:09

Raghuram