From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 30 10:31:56 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 32B6D16A417 for ; Mon, 30 Oct 2006 10:31:56 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail09.syd.optusnet.com.au (mail09.syd.optusnet.com.au [211.29.132.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DD5443D55 for ; Mon, 30 Oct 2006 10:31:55 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c58-107-94-118.belrs4.nsw.optusnet.com.au [58.107.94.118]) by mail09.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k9UAVqOX020302 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Mon, 30 Oct 2006 21:31:53 +1100 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.8/8.13.8) with ESMTP id k9UAVpBo001835; Mon, 30 Oct 2006 21:31:51 +1100 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.8/8.13.8/Submit) id k9UAVpwg001834; Mon, 30 Oct 2006 21:31:51 +1100 (EST) (envelope-from peter) Date: Mon, 30 Oct 2006 21:31:51 +1100 From: Peter Jeremy To: perryh@pluto.rain.com Message-ID: <20061030103151.GD871@turion.vk2pj.dyndns.org> References: <20061029222847.GA68272@marvin.astase.com> <20061030003628.42bc5f8d@loki.starkstrom.lan> <45455f6a.yNcc0kkyEKpoRv3m%perryh@pluto.rain.com> <20061030083849.GB871@turion.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OaZoDhBhXzo6bW1J" Content-Disposition: inline In-Reply-To: <20061030083849.GB871@turion.vk2pj.dyndns.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-hackers@freebsd.org Subject: Re: [patch] rm can have undesired side-effects X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Oct 2006 10:31:56 -0000 --OaZoDhBhXzo6bW1J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, 2006-Oct-30 19:38:49 +1100, Peter Jeremy wrote: >the user is unaware that there are multiple links. I don't think >that just unlinking the file and issuing a warning is a good solution >because it's then virtually impossible to locate the other copy(s) >of the file, which remains viewable. I missed the fact that the warning message includes the inode number. My apologies. This reduces "virtually impossible" to "hard". I still think this current behaviour is undesirable and a security hole. Maybe someone from the SO team would like to offer their opinion - I might just have my tinfoil hat on too tight tonight. --=20 Peter Jeremy --OaZoDhBhXzo6bW1J Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFRdSX/opHv/APuIcRAoTPAJ4/rZuTYI4qE2PB8nXHfqv9qcUY/wCfXpXv 8Td5NQr14YsGRE/PQ6rBPt0= =CuX4 -----END PGP SIGNATURE----- --OaZoDhBhXzo6bW1J--