Re: ext2 not NULLing deleted files?

From: Andreas Bombe (andreas.bombe@munich.netsurf.de)
Date: Tue Aug 21 2001 - 09:19:01 EST


On Fri, Aug 17, 2001 at 02:02:41AM -0600, Andreas Dilger wrote:
> 3) This is easily implemented in user-space, either by aliasing "rm" to
> a new function, or actually putting in your own "rm" binary which
> checks for the "S" attribute on ext2 files, and overwrites properly
> it if it a file only has a single link. Then people can implement a
> level of security they are comfortable with for their particular needs.

Bad, the file may still be open and in use. So this rm would 1) destroy
work data and 2) leave the data in clear that are written after the
sweep.

-- 
Andreas E. Bombe <andreas.bombe@munich.netsurf.de>    DSA key 0x04880A44
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 23 2001 - 21:00:42 EST