An immutable flag may be set on the file.
1. Launch Terminal, located in the Macintosh HD > Applications > Utilities folder.
2. Open the Finder window containing the bad file (not the Trash, but the folder containing the file).
3. Position the two windows so you can see both simultaneously.
4. In the Terminal window, at the Terminal prompt (where the cursor appears) type
chflags nouchg
followed by a single space
but do not press Return yet!
5. Drag and drop the bad file from its Finder window to the Terminal window. The command you typed in the step 4 should now read
chflags nouchg /pathto_badfile
where
/pathto_badfile is the UNIX® directory format of the path to the file, i.e. where it resides on your hard drive.
6. Press Return.
7. Now see if you can unlock the file (if it still shows locked in Get Info) and trash it once and for all.
8. If that all works, then end your Terminal session, as follows:
8.1. At the Terminal prompt, type
exit and press Return.
8.2. Quit (Command-Q) Terminal.
Good luck!
😉 Dr. Smoke
Author:
Troubleshooting Mac® OS X