Mac OS: Troubleshooting a File that Won‘t Go Away

This article discusses steps to erase a file that cannot be emptied from the Trash.
Symptom
A message says that a file cannot be emptied from the Trash. If a file cannot be emptied from the Trash it may be that the file is locked, or a sign of serious directory damage.

Solution
Try these steps to empty the Trash:

If the file is locked, hold down the Option key while choosing Empty Trash from the Special menu. If it is a hard disk error, it is important to repair the issue since it may become worse and other files may be damaged or lost.

To repair the hard disk's directory structure, start up the computer from the Mac OS disc and verify or repair the hard disk with Disk First Aid. If Disk First Aid finds an error but is unable to repair it, consider backing up the hard disk and reinitializing it with Drive Setup or other appropriate utility.

There is one more technique you can try, but depending on the cause of the issue, it may not work. If the following steps don't help, or if the issue reappears, you should initialize the hard disk to completely correct the issue.

The following file and folder names are not important, just the concept.

If this technique does not work, and emptying the Trash still does not erase the file, back up hard disk and reinitialize it using Drive Setup or other appropriate disk formatting utility.
Published Date: Feb 19, 2012