Resource is busy, but lsof doesn't think so Occasionally, I get file (typically after they are edited by Microsoft Word) that I can not delete:

&gt; rm -rf foo.docx
rm: M_AI_SO.docx: Resource busy


However, lsof doesn't report anything, even I run it as root:

&gt; lsof | grep docx
&gt;


How can I determine who is locking the file. And even more important: how can I delete it without a reboot?
lsof does not show all the processes when run as a normal user. Try with

sudo lsof | grep docx


See the SECURITY section of the man page