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

Re: svn delete removes read-only files

From: Ryan Schmidt <subversion-2012c_at_ryandesign.com>
Date: Tue, 19 Nov 2013 20:28:13 -0600

On Nov 18, 2013, at 10:37, Rick Varney wrote:

> So for Redhat 5, rm does seem to give read-only files some special
> treatment. The fact that rm on your OS does not makes me wonder if I am
> wrong about how typical this behavior is in other Linux/Unix flavors.

Both GNU rm (used on Linux) and BSD rm (used on OS X and *BSD) do this. From the BSD rm manpage on OS X 10.9:

DESCRIPTION
     The rm utility attempts to remove the non-direc-
     tory type files specified on the command line.
     If the permissions of the file do not permit
     writing, and the standard input device is a ter-
     minal, the user is prompted (on the standard
     error output) for confirmation.
Received on 2013-11-20 03:28:51 CET

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