BTW, zsh globbing doesn’t exhibit this behavior!  It seems it is only a problem 
in bash.

--
----------------------------------------------
ROBERT SWINFORD
----------------------------------------------
robert.swinf...@gmail.com
m: (405) 209-2339
----------------------------------------------

> On Nov 30, 2021, at 1:58 PM, Robert Swinford <robert.swinf...@gmail.com> 
> 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.
> 
> Interestingly, however, rm -rf // only does the following:
> 
> "root@test:~# rm -rf //
> rm: it is dangerous to operate recursively on '//' (same as '/')
> rm: use --no-preserve-root to override this failsafe"
> 
> I believe illumos has already solved this problem in a POSIX compliant 
> fashion, see: https://www.youtube.com/watch?v=l6XQUciI-Sc&t=4903s
> 
> Appreciate your attention to this bug!
> 
> --
> ----------------------------------------------
> ROBERT SWINFORD
> ----------------------------------------------
> robert.swinf...@gmail.com
> m: (405) 209-2339
> ----------------------------------------------
> 




Reply via email to