[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Problem with file permissions using TortoiseSVN

From: Will Appleton <wfappleton_at_gmail.com>
Date: 2007-07-05 16:08:02 CEST

On 7/3/07, Johan Gustafsson <johagust@gmail.com> wrote:
>
> Hello everyone,
>
> I have just installed a TortoiseSVN server and a client, both on
> Windows XP computers. The connection between the computers work fine
> but when I try to edit a file I get a grey check box icon, which I
> have read means that non-locked files are made read-only (I guess that
> the svn:needs-lock it set). I believe that this is a good setting as
> we will only be editing LabView code and not any text files.
> I am not able to save files which is correct due to the write
> protection attribute. But when I try to "get lock" for a file that I
> want to edit, I get a message back "Lock finished!" and "Locked by..".
> Although I still have the grey check box and I still can't save files
> that are edited.
> When I click Commit, it displays that changes have been made to the
> file, but when I click ok nothing is being submitted.
> I can solve the problem by manually unchecking the write protection
> in the file attributes and then changing the file and checking it in.
> What I wonder is if this should be necessary? I get the same behavior
> on both the client and server and couldn't find any solution in the
> manual or FAQ. Any help would be greatly appreciated.
>
> Thanks,
> Johan Gustafsson, Sweden.

I can recreate this behavior by adding and checking in a read-only file.
(Windows, haven't tested on UNIX yet.) If the permissions are set to
read-only and the file is added and commited, the grey lock badge will
appear on the file even though the needs-lock property is not set. Fresh
checkouts of the file are read-write.
Have you actually checked to see if the files have the needs-lock property?
If it is not present on the files, then something other than TSVN is
applying the read-only attribute to your files.
Are fresh checkouts of the files read-only?
Received on Thu Jul 5 16:07:46 2007

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.