Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SVN commit error says attempt to write a readonly database

Tags:

svn

ubuntu

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?

like image 226
Hadwin Avatar asked Sep 03 '14 03:09

Hadwin


1 Answers

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.

like image 179
Tanuj Mathur Avatar answered Oct 16 '22 20:10

Tanuj Mathur