GNU bug report logs -
#15926
RFE: unlink command already uses 'unlink' call; make 'rm' use 'remove' call
Previous Next
Reported by: Linda Walsh <coreutils <at> tlinx.org>
Date: Tue, 19 Nov 2013 11:58:02 UTC
Severity: normal
Tags: notabug, patch
Merged with 15943
Done: Assaf Gordon <assafgordon <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On 20/11/2013 16:03, Bernhard Voelker wrote:
> $ src/rm -r src/.
> src/rm: refusing to remove '.' or '..' directory: skipping 'src/.'
That gets back to what Bob mentioned about it being a
nanny-restriction.
The inevitable comment to be asked by someone is
"Refuse?
Isn't it my computer? How do I override such a refusal?
I seem to remember reading that the "-f" flag was specifically
added to override such such a refusal w/no further comment."
Answer: well, yeah it was, but they caught MS-itus, and wanted
to put in "are you really sure? (y/[n])", but weren't allowed
to ask more questions, so it just wins because its not your system
anymore.
**- Is it true that you can override this with -supercalifragilisticexpialidocious
flag? 1/2:-)
I still think an ENV flag that lists the command
and behavior to override would be a specific enough, yet
generally enough solution to safely make a case for
allowing it.
I.e. _EXPERT_="rm(.) command(feature1 feature2) find(.error)"
This bug report was last modified 6 years and 225 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.