[TUHS] There is turmoil in Linux-land - When did rm first avoid going upwards?
Josh Good
pepe at naleco.com
Tue Apr 25 08:18:41 AEST 2017
On 2017 Apr 24, 18:06, Noel Chiappa wrote:
> > From: Josh Good
>
> > Would the command "cd /tmp ; rm -rf .*" be able to kill a V6 ... system?
>
> So, assuming one did that, _and_ (important caveat!) _performed that command
> as root_, it probably would empty out the entire directory tree. (I checked,
> and "cd /tmp ; echo .*" evaluates to ". .." on V6.
Yeah, but does "rm" in V6 has a built-in "brake" to not process "." nor
"..", no matter what ("-f")?
--
Josh Good
More information about the TUHS
mailing list