SVN gives “attempt to write a readonly database” error

You can get a meeting with this error message when trying to commit something to a SVN repo, this is caused by wrong permissions on a file on the SVN server. The file “rep-cache.db” will most likely have wrong permissions like the group not having write access to the file. A simple chmod g+w on the file will be enough for the error message not appearing again.

8 thoughts on “SVN gives “attempt to write a readonly database” error

  1. Excellent. Thank you very much. A little comment, if someone faces this using a Windows server, just make sure the file can be accessed by all the users with every box checked in the permissions window.