[Nottingham] Secure deletion of files
Luke Crowe
lcrowe at trainingcamp.co.uk
Thu May 26 09:07:20 BST 2005
Why not just chattr it
chattr -/+s filename
sets secure deletion on a file basis
-----Original Message-----
From: nottingham-bounces at mailman.lug.org.uk
[mailto:nottingham-bounces at mailman.lug.org.uk]On Behalf Of Jon Masters
Sent: 25 May 2005 23:21
To: nottingham at mailman.lug.org.uk
Subject: Re: [Nottingham] Secure deletion of files
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Paul Sladen wrote:
| I wrote a Python utility the other day to zero the unused blocks of a
| unmounted ext2 partition:
|
| http://www.paul.sladen.org/ubuntu/e2fszero/e2fs-zero.py
|
| Could equally well overwrite it with something that's not zero...
Just so long as you don't have that mounted at the time, since there's
no attempt to check the filesystem aint in use :-) To be fair, one would
hope that anyone who chose to use a script like this actually realised
enough of what they were doing that it wasn't an issue.
My favourite line in your script has got to be ``print 'All done!
Hopefully your filesystem is not toast.'''
Quite :-)
Jon.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFClQhieTyyexZHHxERAtPSAKCTKCSmpVCMy8bdDWCZenRNNxtOLQCgokZq
9AFT+v+E5j+D55LFpu3BFcs=
=x9nC
-----END PGP SIGNATURE-----
_______________________________________________
Nottingham mailing list
Nottingham at mailman.lug.org.uk
http://mailman.lug.org.uk/mailman/listinfo/nottingham
More information about the Nottingham
mailing list