Re: Fwd: Bug: rm -rf /*/*

2021-11-30 Thread Lawrence Velázquez
On Tue, Nov 30, 2021, at 6:34 PM, Chet Ramey wrote: > On 11/30/21 3:53 PM, Robert Swinford wrote: >> (and globbing in zsh evals /*/* to //): > > Why? Under what circumstances is that correct? I assume that OP is incorrectly describing zsh's default behavior of intercepting risky ''rm'' commands

Re: Fwd: Bug: rm -rf /*/*

2021-11-30 Thread Chet Ramey
On 11/30/21 3:53 PM, Robert Swinford wrote: TWIMC: This seems like a bug: https://twitter.com/nixcraft/status/1465599844299411458 I was able to replicate the behavior in a container with coreutils version 8.30 and bash 5.0. Sorry, where's the bug? (and globbing in zsh evals /*/* to //):

Fwd: Bug: rm -rf /*/*

2021-11-30 Thread Robert Swinford
TWIMC: This seems like a bug: https://twitter.com/nixcraft/status/1465599844299411458 I was able to replicate the behavior in a container with coreutils version 8.30 and bash 5.0. Interestingly, however, rm -rf // only does the following (and globbing in zsh evals /*/* to //): "root@test:~#