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

Re: Tortoise does not set write permission after "get lock"?

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sat, 19 Jan 2008 16:10:29 +0100

Holger Karl wrote:
> Hello,
>
> following problem:
>
> * file with "needs lock" in repository
>
> * in cygwin, "svn lock TestDocument.doc" changes the file permissions for
> the file alright:
>
>
> karl_at_Shirkan ~/projekte/svn
> $ ls -la TestDocument.doc
> -r--r--r-- 1 karl Kein 19968 Jan 15 15:20 TestDocument.doc
>
> karl_at_Shirkan ~/projekte/svn
> $ svn lock TestDocument.doc
> 'TestDocument.doc' locked by user 'HolgerKarl'.
>
> karl_at_Shirkan ~/projekte/svn
> $ ls -la TestDocument.doc
> -rw-r--r-- 1 karl Kein 19968 Jan 15 15:20 TestDocument.doc
>
>
>
> * when I try the same with TortoiseSVN "get lock", the lock is acquiered all
> right, but the file permission in the local copy are not changed ?!?! It
> stays read only :-(((
>
> * (other mails in the archive discuss this problem for files on an SMB
> share, but this is a normal file in my local directory, not shared, nothing
> out of the ordinary)
>
> I would very much appreciate any help here; this is almost a show stopper
> for us!

TSVN properly sets the write permissions when you do a "get lock" (to be
exact: it removes the readonly flag).

We has some reports about this before. Here's a list (from what I
remember) what the reason was:

* some firewall reset the readonly flag immediately (ZoneAlarm is maybe
the most annoying of those: the bug reappears in every other new version
of it)
* some svn plugin for VisualStudio is known to always set the readonly
flag if you haven't 'checked out' the file with the plugin itself
* virus scanners are also known to interfere: some find that removing
the readonly flag is a security risk and they change it back immediately

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-01-19 16:10:43 CET

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.