Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TortoiseSVN error "Working copy locked" "sqlite: attempt to write a readonly database" - Can this be caused by incorrect permissions?

Tags:

tortoisesvn

A working copy of an app is returning the described error when trying to Update.

Can this error be caused by having insufficient permissions to write to the folder (or some of the files within it)?

I've tried the "Release Lock" function and Tortoise tells me there are no locks.

like image 955
Highly Irregular Avatar asked Feb 26 '13 22:02

Highly Irregular


1 Answers

I got that very error with TortoiseSVN under Windows. Apparently, the .svn folder has a small SQLite database file, which, if you don't have write access to, will cause that error.

As I was using TortoiseSVN through the windows shell (the right-click) menu, to work around it I ran the windows explorer I used to navigate to the folder as administrator and everything worked fine.

Another solution, of course, would be to give write rights to the user you are trying to use TortoiseSVN with.

like image 188
acdcjunior Avatar answered Oct 12 '22 02:10

acdcjunior