Computer Science/Programming
[ERR] SVN E200031: sqlite[S8]: attempt to write a readonly database
Maj0r Tom
2018. 7. 4. 22:37
Subject: "SVN Error"
Error Message:
svn: E200031: sqlite[S8]: attempt to write a readonly database
svn: E200042: Additional errors:
svn: E200031: sqlite[S8]: attempt to write a readonly database
Environment:
Ubuntu 16.04
SVN
IntelliJ
Problem:
Permission issues, because of file ownership
when svn update using IntelliJ tool it shows error message like "SVN E200031: sqlite[S8]: attempt to write a readonly database"
- Same error for grant permission the following command
(I think another file is related with this. like "rep-cache.db")
1 | >> sudo chmod 777 * |
- stackoverflow similar issue thread said "clean up svn"
1 | >> sudo svn clean |
- But, It doesn't work with me
Solution:
Grant ownership to "specific user (me)".
(Its gonna get permission to handle it)
1 | >> sudo chown -R <user>:<user> "SVN root path"/* |
do it
at the result:
Other opinions at StackOverFlow:
1. Find "rep-cache.db" & grant permission to it
2. run command "sudo svn cleanup"