[TUHS] There is turmoil in Linux-land - When did rm first avoid going upwards?

Kurt H Maier khm at sciops.net
Tue Apr 25 08:10:06 AEST 2017


On Mon, Apr 24, 2017 at 11:42:14PM +0200, Josh Good wrote:
>
> So, to get on-topic, I have a question for UNIX historians: when was it
> first defined in the UNIX realm that "rm -r .*" should NOT delete the
> current and parent directories? Would the command "cd /tmp ; rm -rf .*"
> be able to kill a V6 or V7 UNIX system?
       
       
V7 has a dotname function it uses to protect against this.
       
khm



More information about the TUHS mailing list