Page 1 of 1

SVN: Can't open file '/path/to/repo/db/txn-current-lock'

Posted: Tue Aug 03, 2010 12:15 pm
by ^rooker
[PROBLEM]
Trying to commit changes to an SVN repostory running over svnserve, returned the following error message:
Can't open file '/path/to/repo/db/txn-current-lock'
[SOLUTION]
The svnserve was configured in /etc/inetd.conf to run as a certain user and group: svn:svn. So, logically, the repository files must be read/writeable by this svn user.
Simply do a:

Code: Select all

chown -R svn:svn /path/to/your/repository