[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52206: Bug: rm -rf /*/*
From: |
Paul Eggert |
Subject: |
bug#52206: Bug: rm -rf /*/* |
Date: |
Tue, 30 Nov 2021 12:56:04 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 |
On 11/30/21 11:58, Robert Swinford wrote:
This seems like a bug: https://twitter.com/nixcraft/status/1465599844299411458
I don't see a coreutils bug there: rm operated as specified.
Interestingly, however, rm -rf // only does the following:
Yes, that's a special feature of GNU rm.
I believe illumos has already solved this problem in a POSIX compliant fashion
Not sure what you're talking about here. Could you be specific? Don't
have time to watch videos.
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.