I had to force-quit Preview (it became unresponsive after trying to open a 200Mb animated gif), but after re-starting it, some files that were open before no longer open. Instead an error box pops up saying that

The file “file.pdf” couldn’t be opened because you don’t have permission to view it.


To view or change permissions, select the item in the Finder and choose File > Get Info.

(how can I generate an image of that error box?).

However, the file permissions are okay, finder generated the usual preview, and acroread can open the file. I suspect that Preview has generated some lock for this file somewhere, but I'm not sure where and how. OSX 10.9.5. (copying the file in a terminal to another one and trying to open that didn't help, as did changing permissions to read-write for everyone).


quitting preview was enough to fix it for me.

  • 2
    Worked for me... strange bug – Shaun Jul 4 '16 at 17:58
  • 1
    Just opening preview and quitting didn't work for me. But opening and then force quitting seemed to work for some reason. – Andrew Aug 22 '16 at 9:29
  • I think preview just locks the resources and does not release it.. This solution is good :) – Nilesh Agrawal Nov 21 '16 at 6:45
  • Well, this did not help with the original problem, as stated in the problem. So, this does not answer the original question. – Walter Oct 23 '17 at 8:02

After searching on the net I found a solution, following mainly this suggestion, though only deleting a small sub-directory:

  1. I removed the sub-directory ~/Library/Containers/com.apple.Preview/Data/Library/Saved Application State/com.apple.Preview.savedState

  2. I quit Preview and re-started it.

PS: In recent versions of macOS the save state is kept in ~/Library/Saved\ Application\ State/com.apple.Preview.savedState.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .