mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
f3761deee3
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 |
||
---|---|---|
.. | ||
Makefile | ||
rm.1 | ||
rm.c |