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

Re: SVN can't update write-protected files?!?

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-01-17 00:02:54 CET

Joerg Hessdoerfer <Joerg.Hessdoerfer@sea-gmbh.com> writes:

> I've just noticed some troublesome behaiour of SVN on Windows: it
> can't update write-protected files! This works fine under Linux,
> though:

Is it a bug that Windows fails to update a "write-protected" file, or
is the bug the fact that Linux does update such a file?

There's a fundamental difference between Linux and Windows: on Linux
the directory permissions determine whether one can delete a file, on
Windows it's the file permissions that matter. That's an
OS/filesystem difference and nothing to do with Subversion.

Is it reasonable for you to expect Subversion to make those two
different systems behave the same? Have you any idea how much work
that would be?

> joe@joelap:~/tmp/wc$ chmod -r xx

That doesn't "write-protect" (although "chmod -w" won't make any
difference in this case).

> joe@joelap:~/tmp/wc$ svn -r1 up
> U xx
> Updated to revision 1.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jan 17 00:04:15 2005

This is an archived mail posted to the Subversion Dev mailing list.

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