Reputation: 303
I'm maintaining SVN server on an Ubuntu machine. And currently for some reason it didn't allow to commit. While commit it display following error message.
Warning: post-commit FS processing had error 'attempt to write a readonly database'.
How can I fix this issue?
Upvotes: 19
Views: 30491
Reputation: 9199
This same issue with me, I also get an error while SVN cleanup. I am using the Ubuntu 16.04. I lots of do google for same issue. But finally I found that I need to login with root permission.
Once I do that, I got the solution of this issue.
Upvotes: -1
Reputation: 1458
This seems to be caused by incorrect permissions on some of the svn files in your repository. A quick search shows that it is usually the <path_to_your_repository>/db/rep-cache.db
file that has incorrect permissions, though there may be others.
You can check the permissions on the files by running the command ls -lrt
. Make sure that the users/groups writing to the repository have permissions on all the files in the db
subfolder of your repo.
Upvotes: 24