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


Click here to return to the 'The nasty uchg file flag' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
The nasty uchg file flag
Authored by: Anonymous on Jun 11, '01 12:15:29AM

I had an identical problem, and I discovered that by opening up a terminal session and doing an ls -lo (long output, display "file flags") that the un-deletable files had a flag of "uchg" (unmutable) meaning they could not be changed or deleted without first clearing the flag.

To remedy this, use the chflags command with the "nouchg" parameter to clear the flag. You may have to be root to execute the command. You should then be able to remove (rm) the offending files easily.

Check out the chflags man page for additional details.



[ Reply to This | # ]
The nasty uchg file flag
Authored by: dperetti on Jun 20, '01 03:32:46AM

The command is :
chflags -R nouchg *



[ Reply to This | # ]
Wish I had tried it. . .
Authored by: Rampico on May 07, '02 06:51:02PM

I had the "invalid sibling link" and ran it through DiskWarrior. I got a bunch of files (aliases to no known file) that would not delete. As root (logged in, not su) the "Locked" box was checked and I couldn't change it.

I finally booted to 9 just to unlock and trash them.

Next time I'll try this. Thanks!



[ Reply to This | # ]