SVN error E720005, permission denied on binary files

svn

I am working with svn on a network windows shared drive. Mapped to a drive letter.
Recently I updated from svn 1.7.7 to 1.8.0. This worked well for many repos.
Today I created a new repos and continously having problems with it. No other person is yet accessing it.

I cannot commit binary files. The exact same stuff is working for other projects, but not
for this new repos.
Adding text files works good, when I commit a binary file, like a .png it fails.

Adding  (bin)  SW\hw\system.bit
Transmitting file data .svn: E720005: Commit failed (details follow):
svn: E720005: Can't set position pointer in file 'G:\Projekt\P2SW\CASTLE\6_Softw
are\SVN\CTE_5_HW_Self_Bip46\db\txn-protorevs\18-18.rev': Zugriff verweigert

So it says "permission denied", but I have permissions, that is sure.
It is as well not the size, i can commit bigger files, when they are text.

Any suggestion is very welcome.
Thanks

Best Answer

I am working with svn on a network windows shared drive.

No! Bad developer! No donuts for you!

Permissions on Windows is very tricky, especially if shared drives are involved. You should not use the file:// protocol in this instance. You will have problems with permissions. I don't even use the file:// on Unix systems even as my private repository. I always launch svnserve and use svn:// as a protocol.

It's simple to setup svnserve on Windows as a Windows service. There are quite a few Windows packages that pack Apache httpd and Subversion together, and then automatically setup almost everything for you. There is no reason to use a shared drive on Windows and use the file:// protocol.

Check the permissions of all files and subdirectories in your repository. Even though you are the only person using this repository, there is probably a permission issue somewhere. Then go ahead and set everything up as a service.

Related Topic