Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Trash cannot delete file in use

I occasionally have troubles deleting files from the Trash because the message says that the files are still in use, even though I haven't got any applications open.

One of the main features that convinced me to upgrade to Snow Leopard was that it would say which application was using the file that was in use. However, since updating, the warning message hasn't changed since Leopard. Is there a preference or something I need to change to get this feature active?

Posted on Dec 17, 2009 2:02 AM

Reply
Question marked as Best reply

Posted on Dec 17, 2009 7:01 AM

no, there is no preference to set for this. the easiest thing to do in such situations is to log out/in. whatever process was holding the file should release it. if you want to see which process is using a file you can do it from terminal by running the following terminal command

lsof /path/to/file

you need to put the correct path to the file in the command. the easiest way to get it is by dragging the file to the terminal window. make sure there is a space between lsof and the path.
5 replies
Question marked as Best reply

Dec 17, 2009 7:01 AM in response to GromReaper

no, there is no preference to set for this. the easiest thing to do in such situations is to log out/in. whatever process was holding the file should release it. if you want to see which process is using a file you can do it from terminal by running the following terminal command

lsof /path/to/file

you need to put the correct path to the file in the command. the easiest way to get it is by dragging the file to the terminal window. make sure there is a space between lsof and the path.

Dec 19, 2009 7:06 AM in response to GromReaper

GromReaper wrote:
I occasionally have troubles deleting files from the Trash because the message says that the files are still in use, even though I haven't got any applications open.

One of the main features that convinced me to upgrade to Snow Leopard was that it would say which application was using the file that was in use. However, since updating, the warning message hasn't changed since Leopard. Is there a preference >or something I need to change to get this feature active?

Here is a [read on trash|http://www.thexlab.com/faqs/trash.html] that may help you. And, I don't remember Apple promising the feature your mention. [Read here|http://www.apple.com/macosx/refinements/enhancements-refinements.html].

Dec 19, 2009 7:06 AM in response to GromReaper

GromReaper wrote:
Thanks for that.

No word on the feature that was advertised as a new Snow Leopard feature, though?

I think that was just when you eject a drive. when you are trying to eject a drive and there is an active document on it the system will tell you which application is keeping it busy but not which file is in use.

Trash cannot delete file in use

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.