OSX Preview Permissions Error

I was running into a problem where when I tried to open PDF files from mail attachments I’d get “The file could not open because you do not have permission to view it.” Of course the permissions were fine, there were no ACLs present, it just wouldn’t open. Fixing the disk permissions also did not work. Sometimes saving the file to another directory allowed it to work, sometimes not.

The solution ended up being to blow away Preview’s settings. Open up Finder, navigate to ~/Library/Containers and delete com.apple.Preview. This unfortunately also blows away any stored signatures, but I got Preview working again.

The solution was found on discussions.apple.com, in particular Topher Kessler’s answer.

Add picture from clipboard (Maximum size: 1 GB)