From owner-cvs-src@FreeBSD.ORG Mon Oct 30 09:37:37 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 4B5FB16A47C; Mon, 30 Oct 2006 09:37:37 +0000 (UTC) (envelope-from elessar@bsdforen.de) Received: from mail.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F23143D80; Mon, 30 Oct 2006 09:37:26 +0000 (GMT) (envelope-from elessar@bsdforen.de) Received: from localhost (mail [127.0.0.12]) by mail.bsdforen.de (Postfix) with ESMTP id 31BAB4241C8; Mon, 30 Oct 2006 10:37:25 +0100 (CET) X-Virus-Scanned: amavisd-new at bsdforen.de Received: from mail.bsdforen.de ([127.0.0.12]) by localhost (mail.bsdforen.de [127.0.0.12]) (amavisd-new, port 10024) with ESMTP id ZR678XSXeX0n; Mon, 30 Oct 2006 10:37:24 +0100 (CET) Received: from loki.starkstrom.lan (p549CE7DE.dip.t-dialin.net [84.156.231.222]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bsdforen.de (Postfix) with ESMTP id 18BA0423DE4; Mon, 30 Oct 2006 10:37:18 +0100 (CET) Date: Mon, 30 Oct 2006 10:37:11 +0100 From: Joerg Pernfuss To: cvs-src@freebsd.org Message-ID: <20061030103711.15d49e0b@loki.starkstrom.lan> In-Reply-To: <20061030092041.GM1690@submonkey.net> References: <200610300332.k9U3W9xF099044@repoman.freebsd.org> <20061030090054.GC871@turion.vk2pj.dyndns.org> <20061030092041.GM1690@submonkey.net> X-Mailer: Sylpheed-Claws 2.2.3 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_eTZuSaW2r25lI=QEIGTvvjR"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: Xin LI , Peter Jeremy , Ceri Davies , src-committers@freebsd.org, 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:37:37 -0000 --Sig_eTZuSaW2r25lI=QEIGTvvjR Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 30 Oct 2006 09:20:41 +0000 Ceri Davies wrote: > 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. find /mountpoint -type f -inum > > 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). >=20 > 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. But I too agree that this maybe should be backed out until it is further discussed. I wasn't aware of the capabilities of our ln(1) when I suggested the patch. Joerg --=20 | /"\ ASCII ribbon | GnuPG Key ID | e86d b753 3deb e749 6c3a | | \ / campaign against | 0xbbcaad24 | 5706 1f7d 6cfd bbca ad24 | | X HTML in email | .the next sentence is true. | | / \ and news | .the previous sentence was a lie. | --Sig_eTZuSaW2r25lI=QEIGTvvjR Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFFRcfHH31s/bvKrSQRAhNZAJ4oQIGK06U3YtYDZXGHNftvjYGjigCfbifn 7w0PxHLUStWwq4AVF/Pg0Lk= =ddeF -----END PGP SIGNATURE----- --Sig_eTZuSaW2r25lI=QEIGTvvjR--