Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Oct 2004 13:21:21 -0600 (MDT)
From:      Doug Russell <drussell@saturn-tech.com>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Protection from the dreaded "rm -fr /"
Message-ID:  <20041002131621.T88183-100000@mxb.saturn-tech.com>
In-Reply-To: <1221615358.20041002164846@andric.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sat, 2 Oct 2004, Dimitry Andric wrote:

> Of course, your work is commendable, but isn't is much simpler to just
> not type commands like that?  I mean, "rm -rf /etc" or "rm -rf /bin"
> are just as bad, but do you really want to be checking for all
> possible `bad' deletions?  That way, we'll start to look like some
> software from Redmond... :)

There are many times where sanity checking is an absolute must, but I
think it should be implemented in the shell, or a safety later of some
kind in those instances where it is necessary, not in the actual workings
of the system itself, IMHO.

Later......						<Doug>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041002131621.T88183-100000>