From owner-cvs-src@FreeBSD.ORG Mon Oct 30 09:20:46 2006 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CA2B16A403; Mon, 30 Oct 2006 09:20:46 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from shrike.submonkey.net (cpc2-cdif2-0-0-cust107.cdif.cable.ntl.com [81.104.168.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20DF843D5C; Mon, 30 Oct 2006 09:20:44 +0000 (GMT) (envelope-from ceri@submonkey.net) Received: from ceri by shrike.submonkey.net with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1GeTJy-000JZk-9g; Mon, 30 Oct 2006 09:20:42 +0000 Date: Mon, 30 Oct 2006 09:20:41 +0000 From: Ceri Davies To: Peter Jeremy Message-ID: <20061030092041.GM1690@submonkey.net> Mail-Followup-To: Ceri Davies , Peter Jeremy , Xin LI , src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org References: <200610300332.k9U3W9xF099044@repoman.freebsd.org> <20061030090054.GC871@turion.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ogUXNSQj4OI1q3LQ" Content-Disposition: inline In-Reply-To: <20061030090054.GC871@turion.vk2pj.dyndns.org> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.13 (2006-08-11) Sender: Ceri Davies Cc: cvs-src@freebsd.org, src-committers@freebsd.org, Xin LI , cvs-all@freebsd.org Subject: Re: cvs commit: src/bin/rm rm.1 rm.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Oct 2006 09:20:46 -0000 --ogUXNSQj4OI1q3LQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 30, 2006 at 08:00:54PM +1100, Peter Jeremy wrote: > On Mon, 2006-Oct-30 03:32:09 +0000, Xin LI wrote: > > Be more reasonable when overwrite mode is specified while there > > is hard links. Overwritting when links > 1 would cause data > > loss, which is usually undesired. >=20 > Another way of looking at it is that not overwriting when links > 1 > means that the data I thought I securely deleted is still present > somewhere on my computer and I have no easy way to find it. >=20 > I believe that this change creates a security hole and should be > reverted. It the user specified '-P', either the file should be > over-written or the file should be left untouched (not deleted). Peter, I fully agree with you. It looks like you are asking for what's been implemented though; with this change, the file is not overwritten when multiple links exist. Ceri --=20 That must be wonderful! I don't understand it at all. -- Moliere --ogUXNSQj4OI1q3LQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFRcPpocfcwTS3JF8RApJkAJ95iXx6VRAizyI0k1V2rD5OPZ5ttwCfV63O OdSid7o2M66olwlvhbRYZRY= =UvLM -----END PGP SIGNATURE----- --ogUXNSQj4OI1q3LQ--