Working copy of 'c:\folder' locked. Attempt to write a readonly database

Hoppe picture Hoppe · Sep 20, 2012 · Viewed 13.6k times · Source

I'm new to tortoise... When I try to run SVN update on c:\folder on Windows Server 2008 R2, I get the error messages:

  1. "working copy of 'c:\folder' locked.
  2. attempt to write a readonly database

It seems like I need to change file / folder permissions... What do I change them to?

Answer

Hoppe picture Hoppe · Sep 21, 2012

I had to give my own account full control of the directory. It seemed to have lost those permissions when being copied using my powershell script, which was running as administrator