GNU bug report logs - #15926
RFE: unlink command already uses 'unlink' call; make 'rm' use 'remove' call

Previous Next

Package: coreutils;

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

From: Linda Walsh <coreutils <at> tlinx.org>
To: Bernhard Voelker <mail <at> bernhard-voelker.de>
Cc: 15926 <at> debbugs.gnu.org, Eric Blake <eblake <at> redhat.com>, Bob Proulx <bob <at> proulx.com>
Subject: bug#15926: RFE: unlink command already uses 'unlink' call; make 'rm' use 'remove' call
Date: Wed, 20 Nov 2013 16:48:19 -0800

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.