SVN commit error: cannot open txn-current-lock file Permission denied

I can do checks, updates, etc. But when I try to commit the changes, SVN gives me the following error:

Unable to open file '/ svn / p / pokemonium / code / db / txn-current-lock': Permission denied

I am using Windows 7 x64 SP1 with the latest version of TortoiseSVN. UAC is off, my account has read and write access, etc.

I can transfer data to other svn repositories.

+5
source share
7 answers

Try it.

  • Back up your working copy (just to be safe).
  • Make another copy of the entire working copy elsewhere.
  • Take a copy and delete all SVN folders from it
  • .
  • / .

, _svn .svn /.

() , (!) , . .

+1

. linux box ssh svnadmin. create repository root. , Windows, , TortoiseSVN //. , , root, Tortoise apache. chowned apache: apache, .

chown apache:apache -R my_repo_root
+10

. Windows Visual SVN- NETWORK SERVICE. , . Visual SVN SYSTEM, .

+9

Unix

Apache SVN .

-f httpd.conf -k stop

-f httpd.conf -k start

0

, Windows 7 SVN Windows .

, - , .

After making sure that the permissions were set correctly for the SVN Repository folder, I simply deleted the "txn-current-lock" file in the / db folder of the project. This fixed it for me. After that, I could complete my project again.

0
source

In my case, my Linux server was restarted after losing power. The file system remained installed as read-only, as some repair work was done. Rebooting the machine restored the full function.

0
source

chown apache command: apache -R my_repo_root

-2
source

All Articles