Normally holding the Option key down works with locked folders, but I have had a stubborn folder in the trash on a USB thumb drive. Whenever I plug it in, the trash shows this item and holding down Option does not work when emptying the trash. I will have to try this.
@Bash: That's fine for one or two files. But when you're trying to delete 200 files scattered around in deeply nested folders . . . well, you're going to get a very sore finger after all those clicking.
The command line you suggest (and thanks for that) isn't working. The folder that i want to remove from trash was deleted from an USB HDD i dont find a way to unlock it!! No option key, no command line whatsoever... Help!!!
Thanks -- this post helped me out quite a bit today. I was having trouble removing some folders connected to a subversion repository. The locked subversion files were causing the same error blocking my deletes.