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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With