If Not True Then False

Delete files securely on Linux – Journaled file systems - Comment Page: 1

Few days ago I write about shred, which work fine for old systems, like EXT2, but not so nice with journaled file systems. Modern file systems need something more robust, like dd and srm (a secure replacement for rm). Unlike the standard rm, srm overwrites and rename the files before unlinking them. This makes it very hard to recovery of the data. Create test file: echo "secure content" >...
Categories:
Tagged with:

2 Comments

Leave a Comment

Your email address will not be published. Required fields are marked *

Input your comment.
help

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Input your name.

Kenneth Dunning

How does srm, properly overcome the issues faced with a Journaling file system? Is this why you run the sync command?

Thanks!

Kenneth

reply Reply
JR

Hi Kenneth,

This guide does not provide absolutely secure way to remove files, I think that the only totally secure way to delete files permanently is overwrite whole disk, but this makes it harder to recover data. Sync command is used to flush file system buffers.

reply Reply