How to overcome "The application 'Preview' does not have permission to open..."

In previous Preview versions, I could embed a link in a PDF to a .mov or .mp4 file that Preview would then pass to whichever program was appropriate. Now Preview flags an error of not having permission. How can permission be granted to Preview to pass the linked file to another program?

Mac Studio, macOS 14.0

Posted on Jul 15, 2023 7:00 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 19, 2023 8:05 AM

Turns out there is a simple fix: change the .mov file's permissions so "everyone" (unix: Other) has read access. (A simple "chmod u+rw,go+r <filename>" repaired it). Then Preview could pass the file link to QuickTime Player.


Now the weird thing is why did those files have permissions only set for owner and not group and other? Especially the .mov file, which was created by QuickTime Player, had no permissions set for group or other.


So my new question is:

      How to set default permissions for files generated by Apple's programs?

4 replies
Question marked as Top-ranking reply

Jul 19, 2023 8:05 AM in response to bauldrywc

Turns out there is a simple fix: change the .mov file's permissions so "everyone" (unix: Other) has read access. (A simple "chmod u+rw,go+r <filename>" repaired it). Then Preview could pass the file link to QuickTime Player.


Now the weird thing is why did those files have permissions only set for owner and not group and other? Especially the .mov file, which was created by QuickTime Player, had no permissions set for group or other.


So my new question is:

      How to set default permissions for files generated by Apple's programs?

Jul 15, 2023 9:13 AM in response to bauldrywc

bauldrywc wrote:

In previous Preview versions, I could embed a link in a PDF to a .mov or .mp4 file that Preview would then pass to whichever program was appropriate. Now Preview flags an error of not having permission. How can permission be granted to Preview to pass the linked file to another program?


How does Preview pass a link...? Maybe you can clarify


Are you saying an embedded link in a PDF using the Preview.app no longer works...



Try a a true PDF editor and compare your results, this would be informative;

there are many, here are a few examples:


Acrobat Reader / Adobe Acrobat DC

https://get.adobe.com/reader/


PDFpen / Nitro

https://pdfpen.com/pdfpen/


pdfExpert

https://pdfexpert.com/


Master PDF Editor

https://code-industry.net/masterpdfeditor/?-about&ver=5832


Foxit Reader / Editor

https://www.foxit.com/

Jul 17, 2023 4:26 AM in response to leroydouglas

I use LaTeX (compiling with pdfTeX) with the hyperref package to create a PDF file with embedded links. The internal links to targets in the PDF still work. Embedded links to websites still work. Links that attempt to pass a local .mov or .mp4 file (even in the same working directory) no longer work, but generate a "The application 'Preview' doesn't have permission to..." modal alert. (Just as reference, the syntax using hyperref is \href{run:///./<name>.mov}{<link text>}. This had worked fine for a long time.)


Thanks for investigating.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to overcome "The application 'Preview' does not have permission to open..."

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.