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


Message #8 received at 16669 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Eric Blake <eblake <at> redhat.com>, 16669 <at> debbugs.gnu.org
Subject: Re: bug#16669: inconsistent 'rm -ir' prompting behavior
Date: Thu, 06 Feb 2014 09:03:50 -0800
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.




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

Previous Next


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