GNU bug report logs - #16669
rm: inconsistent 'rm -ir' prompting behavior (POSIX issue)

Previous Next

Package: coreutils;

Reported by: Eric Blake <eblake <at> redhat.com>

Date: Thu, 6 Feb 2014 16:40:02 UTC

Severity: wishlist

Tags: confirmed

Full log


View this message in rfc822 format

From: Eric Blake <eblake <at> redhat.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>, 16669 <at> debbugs.gnu.org
Subject: bug#16669: inconsistent 'rm -ir' prompting behavior
Date: Thu, 06 Feb 2014 10:33:35 -0700
[Message part 1 (text/plain, inline)]
On 02/06/2014 10:03 AM, Paul Eggert wrote:
> On 02/06/2014 08:39 AM, Eric Blake wrote:
>> should I also allow for an optimization of omitting the second prompt
>> for a known non-empty directory
> 
> I would, yes.  Thanks for catching that.
> 
>> (known because of a negative answer to
>> prompts on its children)
> It might also be known because of a failed attempt to remove a child,
> and this optimization should be allowed as well.

http://austingroupbugs.net/view.php?id=819 was created to attempt this,
although it may need another round of word-smithing to make sure it is
correct for what we want.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 6 years and 270 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.