Results 1 to 3 of 3
  1. #1
    Question How to resolve 'Access to Control' message
    I have a shell script which I run in as a LaunchDaemon. It comes up with the following dialog.

    Screen Shot 2018-12-04 at 12.29.07 PM.png

    Usually when I see this, I click OK and I grant access to the app. However, in this case it seems you can't grant access to a shell script or if you can, at least I can't figure out how.

    How do I resolve this? And yes, I wrote the shell script and I do want to grant permission to do what it is trying to do.

  2. #2
    Apple made changes to AppleScript events in Mojave, so running an osascript from within a Bash script will now trigger this dialog, just as though you were running an AppleScript. In System Preferences : Security & Privacy : Privacy tab : Accessibility, click the + button, and add /usr/bin/osascript to the list.

    When you click the + symbol, you will get a typical File Chooser. Press shift+command+G and in the Go To Folder dialog, enter /usr/bin/osascript and then click GO. You will see this application highlighted in a window of other executables. Click Open, and it will be added to the list in the preceding paragraph.

  3. #3
    Thanks for reporting back the solution, that should help others.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Parental Control access
    By albec in forum macOS - Operating System
    Replies: 2
    Last Post: 02-16-2013, 02:35 PM
  2. Access Control - Time Capsule
    By TODAY in forum Internet, Networking, and Wireless
    Replies: 1
    Last Post: 01-11-2012, 12:45 AM
  3. message window now has extra annoying control
    By nicwolff in forum macOS - Apps and Games
    Replies: 1
    Last Post: 09-29-2010, 12:13 AM
  4. Software to control Airport access
    By Credence in forum Internet, Networking, and Wireless
    Replies: 2
    Last Post: 05-05-2009, 04:19 PM
  5. access control lists
    By stevenyc in forum Internet, Networking, and Wireless
    Replies: 2
    Last Post: 09-27-2007, 11:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts