Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Good for rm, but not others' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Good for rm, but not others
Authored by: neier on May 18, '04 07:04:44PM
This is only a slight remedy, as there are still many nasty things that anyone familiar with unix could do to your data if you only backed it up via hard links.

echo " " > MyImportantFile would kill the original AND any hard links. Creative use of cp would also write over the original contents.

[ Reply to This | # ]

Good for rm, but not others
Authored by: gshenaut on May 18, '04 07:59:19PM

You could use "rm -rfP ~" and it would delete or overwrite all your files, including those you have "backed up" with hard links.

Also, as others have said, this isn't a unix problem. You could use applescript to delete selected folders and then to empty the trash, you'd
get the same effect.

One approach to a fix would be to do force web browsing into a carefully constructed, chrooted (or jailed) sandbox. That is, the browser and programs it spawns would have access only to a safe, backed up piece of your file system.

Greg Shenaut



[ Reply to This | # ]