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

Re: Locked files can be modified by anyone

From: Gavin Lambert <tsvn_at_mirality.co.nz>
Date: 2006-09-11 09:33:13 CEST

Quoth Taan:
> I am noticing that if I lock a file then anybody who has access to my Working
> Copy can modify it.
>
> For instance if the WC is on a network drive, or even if the WC is on a PC with
> multiple user access then it can be modified by anyone.
>
> It makes no difference whether I cache passwords or not.
>
> Are no checks done on locked files in the WC?

Locking is at the SVN interface. The working copy is on your filesystem
-- if you want to stop other people messing with your working copy, then
you need to configure your filesystem so that they can't access it.
It's got nothing to do with SVN.

Locks are fragile things anyway. If sufficiently motivated, anyone can
break a lock (as I understand it). (This is actually a feature:
otherwise imagine the problems caused when the developer who obtained a
lock on a mission-critical file has gone on holiday for a month or two.)

They're essentially an advisory tool, not an ironclad guarantee, and
typically the only things they might be useful on are binary files
(since they can't be merged cleanly).

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Mon Sep 11 09:33:42 2006

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.