Here are a few suggestions from the news group comp.sys.mac.misc, found in what used to be deja news:
I tried both commands
"sudo rm -rf ~/.Trash/* "
and
"sudo rm -ri /Volumes/*/{.Trash,.Trashes}"
using the terminal.
Neither worked, unfortunately, even though the second one
seemed to work by asking for verification, then permission to delete.
I was not able to copy/move these undeletable files to the desktop as suggested[using drag & drop.
Using Terminal-
I also deleted the hidden .Trash file for the only user [me].
I also deleted .Trashes
I then logged out & logged back in.
When I logged back in, the TRASH can icon EMPTIED with the accompanying sound. STRANGELY- But when I opened [using right click] the TRASH folder; all the files & folders were still there and the TRASH icon refilled.
I wonder where these files reappeared that in the Trash came from??? Does OSX have a Recycling Program?
I have several partitions on 2 hard drives with both OSX 10.6.7 and Windows 7 on this Hackintosh [maybe I should have said that before-Sorry] The undeletable files and folders seem to come from the WIN 7 install [they are files on the WIN 7 install].
Just to explain a bit more[I don't know what might be important]
Drive A, Partition #1= Main OSX install Drive "A" is an Internal HDD.
Drive A, Partition #2 = Time Machine, backing up Partition #1
Drive A, Partition #3 = OSX DATA,
Drive A ,Partition #4 = Experimental copy of Partition #1.
On another Internal HDD [Drive "B"] in same PC, a Win 7 is installed by itself.
Additionally I have an EXTERNAL HDD [Drive C] with a backup up copy of my main OSXinstall that is on HDD "A" Partition #1 Backup was created using Super Duper.
I use a BOOT LOADER called Chameleon to get to the different partitions.
I think the Windows 7 type files got into the TRASH earlier when I failed to exclude the Win 7 volume from Time Machine. I don't recall deleting those files to the Trash however. I did later exclude the Win 7 install files from Time Machine. Maybe they were "trashed" automatically then.
ANYONE- SUGGESTIONS HOW TO DELETE THESE FEW FOLDERS & FILES from the TRASH. They don't seem to cause any harm though.