From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 2 14:49:05 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EF7716A4CE; Sat, 2 Oct 2004 14:49:05 +0000 (GMT) Received: from tensor.xs4all.nl (tensor.xs4all.nl [194.109.160.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98B3643D46; Sat, 2 Oct 2004 14:49:04 +0000 (GMT) (envelope-from dimitry@andric.com) Received: from kilgore.dim (kilgore.dim [192.168.0.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.xs4all.nl (Postfix) with ESMTP id 5AE2A2284E; Sat, 2 Oct 2004 16:49:02 +0200 (CEST) Date: Sat, 2 Oct 2004 16:48:46 +0200 From: Dimitry Andric X-Mailer: The Bat! (v3.0.1 RC3) Professional X-Priority: 3 (Normal) Message-ID: <1221615358.20041002164846@andric.com> To: Giorgos Keramidas In-Reply-To: <20041002081928.GA21439@gothmog.gr> References: <20041002081928.GA21439@gothmog.gr> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="----------10A17715E3C37CADC" cc: freebsd-hackers@FreeBSD.org Subject: Re: Protection from the dreaded "rm -fr /" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Oct 2004 14:49:05 -0000 ------------10A17715E3C37CADC Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit On 2004-10-02 at 10:19:28 Giorgos Keramidas wrote: > His idea was remarkably simple, so I went ahead and wrote this patch for > rm(1) of FreeBSD: 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... :) ------------10A17715E3C37CADC Content-Type: application/pgp-signature -----BEGIN PGP MESSAGE----- Version: GnuPG v1.2.4 (MingW32) iD8DBQFBXr/OsF6jCi4glqMRAlX4AJ47zKAfHavaUWrcMeBHemX3VV5ZjgCfYC/S aX3HDqLusRv85EICbzTfyeg= =37Pi -----END PGP MESSAGE----- ------------10A17715E3C37CADC--