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

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
^rooker
Site Admin
Posts: 1483
Joined: Fri Aug 29, 2003 8:39 pm

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

Post 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
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply