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

Click here to return to the 'undeletable files solution' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
undeletable files solution
Authored by: on May 29, '02 04:04:41AM

I had a case of undeletable files in a directory (not in the trash); I wanted to get rid of the entire directory. No permissions changes would fix the problem, could not delete from the command line either. Turns out the immutable bit had been set (no idea how this happened). The solution was to do this in the terminal:

chflags -R nouchg mydirectory

(this turns off the immutable bits on the entire directory and its contents)

After this,

rm -fr mydirectory

deleted the entire directory.

[ Reply to This | # ]