Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

In Finder the file VirtualBox_Uninstall.tool is greyed out.

enter image description here

I want to delete this file, but I'm prompted by a message that the file is currently in use:

enter image description here

Currently, I have no clue what is the cause of this. Therefore I want to know what other application is using it. How do I find this out?

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

The cause is usually a copy job that unexpectedly died or some process that has an open file handle on that file. You can check which process opened which files with lsof | grep "filename". This will not necessarily yield a result. If the issue isn't resolved after a logout or even a restart you still can continue at that dialog and remove the file.

share|improve this answer
    
Very awesome! :) Thank you. –  gentmatt Dec 13 '12 at 13:03
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.