From mboxrd@z Thu Jan 1 00:00:00 1970 From: pepe@naleco.com (Josh Good) Date: Tue, 25 Apr 2017 00:18:41 +0200 Subject: [TUHS] There is turmoil in Linux-land - When did rm first avoid going upwards? In-Reply-To: <20170424220603.883CB18C0D0@mercury.lcs.mit.edu> References: <20170424220603.883CB18C0D0@mercury.lcs.mit.edu> Message-ID: <20170424221840.GB4966@naleco.com> 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