Trash cannot be emptied, file locked.

rdav

macrumors 6502
Original poster
Mar 16, 2007
311
30
So/California.
When I try to empty the trash, there are error messages.
eg. "Cannot complete operation, file XYS.BMP is locked".
But I can not find the offending files.
What can be done?
 

WildCowboy

Administrator/Editor
Staff member
Jan 20, 2005
16,783
1,065
First, try "Secure Empty Trash" from the Finder menu...that frequently does the trick.
 

Grape

macrumors newbie
Aug 15, 2007
23
0
open terminal

type "cd ~/.Trash"
hit enter

type "rm XYS.BMP"
hit enter

close terminal

N.B.: Do not include the quotes.