freebsd-dev/bin/rm
Guido van Rooij f3761deee3 When the P flag is set (i.e. Overwrite regular files before deleting them),
do only unlink the file if we could indeed overwrite the file.
Old behaviour: rm -P /tmp/foo (foo mode 0444) would NOT overwrite foo,
but still delete it (with a warning: rm: foo: Permission denied)
New behaviour: Just the EPERM warning, but no deletion

Reviewed by:	bde
2003-11-10 09:40:18 +00:00
..
Makefile Revert previous delta, which is not required with rev 1.5 of 2002-07-15 12:08:21 +00:00
rm.1 Cross ref chflags(1). 2003-02-04 20:38:51 +00:00
rm.c When the P flag is set (i.e. Overwrite regular files before deleting them), 2003-11-10 09:40:18 +00:00