GNU bug report logs - #12339
Bug: rm -fr . doesn't dir depth first deletion yet it is documented to do so.

Previous Next

Package: coreutils;

Reported by: Linda Walsh <coreutils <at> tlinx.org>

Date: Mon, 3 Sep 2012 00:34:02 UTC

Severity: normal

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Linda Walsh <coreutils <at> tlinx.org>
Cc: 12339 <at> debbugs.gnu.org
Subject: Re: bug#12339: Bug: rm -fr . doesn't dir depth first deletion yet it
	is documented to do so.
Date: Mon, 03 Sep 2012 16:55:16 +0200
Linda Walsh <coreutils <at> tlinx.org> writes:

> 	But you fail to follow the earlier stated POSIX
> requirement:

You failed to read the second paragraph:

    If either of the files dot or dot-dot are specified as the basename
    portion of an operand (that is, the final pathname component) or if
    an operand resolves to the root directory, rm shall write a
    diagnostic message to standard error and do nothing more with such
    operands.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




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

Previous Next


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