Open mpolden opened 2 years ago
I just encountered this issue when I was trying to trash files using move-file-to-trash
when mac-system-move-file-to-trash-use-finder
is set to t. The privacy permission dialog did not pop up. I even reported this to upstream but then realized this is an issue only for the cask binary. If I reinstall from the source brew install emacs-mac
the pop-up shows immediately.
I use
org-mac-grab-link
to copy links to resources in other applications, e.g. files in Finder. However, when using cask Emacs, it simply prints the following error message:do-applescript: Not authorized to send Apple events to Finder.
Calling this function is supposed to trigger the following dialog, which allows me to grant the requested permission:
When the dialog fails to appear, the system logs the following:
It appears to have something to do with the code signature of cask Emacs:
If I remove the signature with
codesign --remove-signature /Applications/Emacs.app
, the expected permission dialog appears and everything works as expected.