tags:

views:

201

answers:

4

Working with an standard configuration of the server, without any lock, my files are read-only after every check out or update to the working copy. I have to set them to be not read-only to continue working, but besides this shouldn't be happening, it's uncomfortable.

Anybody knows how to avoid this behavior?

EDIT

Answers to comments:

  • Platform: Windows 32 bits binding, without Apache + TortoisseSvn.
  • The files are not marked as read only on the first checked in to the repository (of course!, if they were this question would be silly)
  • I don't think that it would be incompatibility, because it was working fine until it wasn't...
  • The svn:needs-lock property is not set on the files.
  • I'm using a local NTFS file system on WinXP, in an Active Directory environment (if that matter).

By the way, svn+tortoissesvn was working fine in the beginning, but at some point it stopped to do that.

+3  A: 

Is the svn:needs-lock property set on the files in question?

http://svnbook.red-bean.com/en/1.5/svn.advanced.locking.html

http://svnbook.red-bean.com/en/1.5/svn.ref.properties.html

UPDATE

AFAIK, SVN will only set files as read-only if svn:needs-lock is set. If this property truly is not set, then something else on your system may be messing with the files. You could use Process Monitor to watch the files and see who changes them.

msemack
+1  A: 

What kind of filesystem do you use for your working copy?

Local/Network?

NTFS/FAT32/Unix via Samba/NFS?

Bert Huijben
A: 

I have the same problem. After modifying the files and commiting the changes, the files are marked as rea-only. If I delete the files and check them out again everything goes back to normal but as soon as I commit them again, they are marked as read-only. Tortoise 1.6.10 Subversion Server 1.6.11 (r934486)

Antonio Lie
A: 

Using Server 1.5.4 (r33841) and client below, I have exactly the same problem.

"About" for Tortoise SVN tells me:

TortoiseSVN 1.6.6, Build 17493 - 32 Bit , 2009/10/19 20:22:18 Subversion 1.6.6, apr 1.3.8 apr-utils 1.3.9 neon 0.28.6 OpenSSL 0.9.8k 25 Mar 2009 zlib 1.2.3

It started some weeks ago, don't now exactly when or why. Very annoying...

Are there any new insights?

Werner