cvs commit: src/bin/rm rm.1 rm.c

Ceri Davies ceri at submonkey.net
Mon Oct 30 09:20:46 UTC 2006


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.
> 
> 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.
> 
> 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
-- 
That must be wonderful!  I don't understand it at all.
                                                  -- Moliere
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20061030/7f4bdfd0/attachment.pgp


More information about the cvs-src mailing list