Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Sending a pdf as an attachement leaves open the original file according to
lsof | grep my.pdf How can i prevent this rather unpleasant behavior ?

OSX 10.6.8 - Mail Version 4.6 (1085)

UPDATE: I filed a bug at apple and the guys at apple actually responded saying this is a know bug (duplicate of #4023875) which is still open.

share|improve this question
How long after mail activity finishes are these file handles kept open? – bmike Jan 9 '13 at 20:56
at least an hour – krichard Jan 9 '13 at 22:14
Well - I can't imagine any network access still being pending at that point. Likely you found a bug. – bmike Jan 9 '13 at 22:28
How are you sending the file? Simple attachment, drag and drop type, or from within preview or another pdf reader? – Tony Tellez Jan 17 '13 at 19:32
I attach the file using the UI-Dialog in Mail – krichard Jan 17 '13 at 19:57

I can't speak for why anything Apple has done, but three things come to mind for changing the open file status:

Unless you have some third party Mail plug in, it seems you've identified something that hopefully Mail eventually releases since you might have problems deleting a file that's still open.

share|improve this answer

Your Answer


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.