GNU bug report logs - #52206
Bug: rm -rf /*/*

Previous Next

Package: coreutils;

Reported by: Robert Swinford <robert.swinford <at> gmail.com>

Date: Tue, 30 Nov 2021 20:27:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Bob Proulx <bob <at> proulx.com>
To: Robert Swinford <robert.swinford <at> gmail.com>, 52206 <at> debbugs.gnu.org
Subject: bug#52206: Bug: rm -rf /*/*
Date: Tue, 30 Nov 2021 23:49:02 -0700
Bob Proulx wrote:
> Paul Eggert wrote:
> > Robert Swinford wrote:
> > > BTW, zsh globbing doesn’t exhibit this behavior!  It seems it is only a problem in bash.
> >
> > In that case, the bug (whatever it is) wouldn't be a coreutils bug.
>
> I don't understand the comment that zsh doesn't expand the glob /*/*
> and I tried it and verified that it does indeed expand that glob
> sequence.

Lawrence Velazquez made sense of this on the bug-bash list.

    https://lists.gnu.org/archive/html/bug-bash/2021-11/msg00193.html

Bob




This bug report was last modified 3 years and 224 days ago.

Previous Next


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