Closed thirdbody closed 5 years ago
Is Terminal in your System Preferences > Security > Privacy > Automation?
It isn't, and I also don't see a way of putting it there. There's no + or - to add or remove items from the list, and dragging/dropping the Terminal application onto the list does nothing.
It should definitely prompt for Automation authorization instead of failing. Is there anything else authorized in Automation?
I'm using
https://github.com/reitermarkus/dotfiles/blob/master/.sh#L35-L36
in my dotfiles to display the prompt if it's not authorized.
Tried that one, too. Nothing seems to trigger the Automation prompt.
Easiest explanation seems to be that my OS isn't cooperating. I've been having serious issues with other system functions too (not to mention that trying to reset the Privacy/Security permissions lists fails every time without explanation when it's definitely not supposed to). I'm going to clean-install Catalina when it comes out and call it a day.
General troubleshooting steps
--force
.brew update-reset && brew update
and retried my command.brew doctor
, fixed as many issues as possible and retried my command.Description of issue
Attempting to uninstall the
google-backup-and-sync
cask fails with the error36:103: execution error: Not authorized to send Apple events to System Events. (-1743)
.Looking it up seems to suggest that it's a Mojave issue related to new protections. The suggested solutions in this article are to add the Terminal app to the Full Disk Access list and as a last resort to reset the access permissions. Neither has worked in this case.
Command that failed
Output of command with
--force --verbose --debug
Output of
brew cask doctor
Output of
brew tap