SVN Commit error: Can't open file txn-current-lock Permission denied

commit, permission-denied, tortoisesvn

Solution

Try this.

- Make a back up copy of your working copy (just to be safe).

- Make another copy your entire working copy off somewhere else.

- Take the copy and delete all of the SVN folders out of it

- Delete your working copy and do a fresh checkout

- now copy/paste your corrupted working copy over your fresh checkout.

it is critical for this to work that you have completely removed ever _svn or .svn folder from your corrupted working copy before you perform the copy/paste.

This will leave you (hopefully) with a working copy that shows (!) on all the files you had modified since your last commit. And fixes your lock issue.

Problem

I can do checkouts, update and such. But when I try to commit changes, SVN gives me the following error: Can't open file '/svn/p/pokemonium/code/db/txn-current-lock': Permission denied I am using Windows 7 x64 SP1 with latest version of TortoiseSVN. UAC is off, my account has read and write access, etc. I can commit fine to other svn repositorys.

Original source