Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Oct 2006 11:26:08 -0800
From:      Doug Barton <dougb@FreeBSD.org>
To:        Bakul Shah <bakul@bitblocks.com>
Cc:        perryh@pluto.rain.com, delphij@FreeBSD.org, freebsd-hackers@freebsd.org
Subject:   Re: [patch] rm can have undesired side-effects
Message-ID:  <454651D0.6090208@FreeBSD.org>
In-Reply-To: <20061030191611.06DFF5B82@mail.bitblocks.com>
References:  <20061030191611.06DFF5B82@mail.bitblocks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Bakul Shah wrote:
> Sorry if I tuned in late:-)
> 
> I vote for taking *out* -P.  It is an ill-designed feature.
> Or if you keep it, also add it to mv, cp -f & ln -f since
> these commands can also unlink a file and once unlinked in
> this matter you can't scrub it.  And also fix up the behavior
> for -P when multiple links.  And since mv can use rename(2),
> you will have to also dirty up the kernel interface somehow.
> Not to mention even editing such a sensitive file can leave
> stuff all over the disk that a bad guy can get at.  If you
> are truely paranoid (as opposed to paranoid only when on
> meds) you know how bad that is!
> 
> If you are that concious about scrubbing why not add
> scrubbing as a mount option (suggested option: -o paranoid)
> then at least it will be handled consistently.

The patches to implement your suggestions didn't make it through on
this message. Please feel free to post them for review and send the
URL to the list.

Doug

-- 

    This .signature sanitized for your protection



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?454651D0.6090208>