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
..
2003-05-01 16:58:57 +00:00
2003-06-30 06:16:06 +00:00
2003-10-11 20:34:43 +00:00
2003-02-23 01:43:45 +00:00
2003-05-01 16:58:57 +00:00
2003-05-01 16:58:57 +00:00
2003-10-16 07:07:20 +00:00
2003-05-01 16:58:57 +00:00
2003-05-05 22:49:23 +00:00
2003-10-14 20:42:13 +00:00
2003-05-01 16:58:57 +00:00
2003-05-01 16:58:57 +00:00
2003-05-22 13:10:32 +00:00
2003-02-18 19:51:59 +00:00
2003-11-02 06:47:39 +00:00