0

This is not an emacs problem so far as I'm aware, and only occurred after I upgraded from macOS Catalina 10.15.? to 10.15.7. Any help resolving this issue is greatly appreciated.

I'm using helm-bibtex to manage my references. Previously, everything was working seamlessly. After the upgrade above (which my computer did without my consent!), I have been getting the following error when I try to open most of my PDF files in Preview via helm-bibtex:

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.

Obviously, the permissions on the PDF file are totally okay (rw-r--r--), so this message is completely unhelpful. I have given emacs and /usr/bin/ruby Full Disk Access as instructed elsewhere on emacs.SE, and to no avail. I have also tried toggling permissions of my PDFs using chmod 644 *.pdf (and even chmod 755).

I've looked through other posts on emacs.SE with similar issues, but the issue is never quite the same as this one, and the proposed solutions I've found so far have not fixed the problem.

4
  • Who produces that error message? It looks like a Mac program does it (does anything in Emacs refer to the "Finder"?). If you can find that out, you can try it from the command line and leave Emacs out of the equation.
    – NickD
    Commented Jan 16, 2023 at 21:09
  • Does this happen only when you try to open the PDFs through emacs, or does it happen no matter how you try to open them? Commented Jan 17, 2023 at 18:27
  • 1
    Indeed, it's a MacOS/Preview issue. This post resolved it. Commented Jan 17, 2023 at 22:52
  • Update: that post did not resolve it, after all, but this one did. Commented Jan 24, 2023 at 18:55

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.