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


Click here to return to the 'Yet another method of trashing undeletable files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Yet another method of trashing undeletable files
Authored by: Krioni on Feb 15, '06 08:35:57AM

Note to command-line junkies: even running the 'rm' command as root won't delete files that are locked (in the Finder's Get Info) window. Pain in the neck. Holding option while choosing Empty Trash will delete those, but not if the current user doesn't have permission.



[ Reply to This | # ]
Yet another method of trashing undeletable files
Authored by: jt777 on Feb 16, '06 12:50:53PM
Not sure I understand what you mean because it doesn't sound accurate. Try this:
  1. mkdir test
  2. touch test/test.txt
  3. get info on the file and folder
  4. set them both to locked.
  5. set them to no access for you, group, and others (or just chmod -R 000 test)
  6. verify this however you want
  7. sudo rm -rf test
  8. say "byebye" to the file and folder


[ Reply to This | # ]