On 03/16/2017 10:31 PM, Greg Freemyer wrote:
Be especially sure not to create to files "-rf" and "/"
I've never tried it, but I assume "rm *" in that folder could do "rm -rf /"
Not too scary - GNU rm has a failsafe for the '/' argument (including links and unusual ".." namings to it): $ rm -rf / rm: it is dangerous to operate recursively on ‘/’ rm: use --no-preserve-root to override this failsafe ... as long as you don't create a file named "--no-preserve-root". ;-) At least you'll get this failsafe behavior with rm(1) from GNU coreutils, so I can't tell for other flavors (HP-UX, Solaris, ...). Have a nice day, Berny -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org