Ubuntu – svn txn-current-lock permission denied

svnUbuntu

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

Best Answer

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.