I'm getting this error from my svn repo when I try to commit the changes I've made:
[root@puppet:/opt/puppetdb] #svn commit -m "removing everything before the rebuild"
Deleting conf.d
Deleting logback.xml
Deleting puppetdb
Deleting ssl
svn: E000013: Commit failed (details follow):
svn: E000013: Can't open file '/usr/local/svn/repos/puppetdb/db/txn-current-lock': Permission denied
But the permissions on that file look like I should be able to modify it:
-rwxrwxr-x. 1 apache svn 0 Apr 27 02:18 /usr/local/svn/repos/puppetdb/db/txn-current-lock
SELinux has been turned off with no change in result.
I can get the commit to work if I change permissions on that file to be world readable/writable. But there simply has to be a better way! How can I solve this issue?
Thanks,
Best Answer
The service ownership is only half of the picture. In the case of @bluethundr, with the following repo:
ensuring that the Apache user has ownership of all of the files and subdirectories under
might be enough. However, if the owner of the Apache dav_svn_module is member of the svn group and the group has recursive write permissions to the repository then this also works.