Results 1 to 3 of 3
-
12-04-2018, 04:50 PM #1
- Member Since
- Dec 04, 2018
- Posts
- 2
- Rep Power
- 0
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.
- 12-04-2018, 05:41 PM #2
- Member Since
- Dec 04, 2018
- Posts
- 2
- Rep Power
- 0
SolvedApple 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.
12-05-2018, 09:45 AM #3Thanks for reporting back the solution, that should help others.
--
Regards
...Ashwin
Thread Information
Users Browsing this Thread
There are currently 2 users browsing this thread. (0 members and 2 guests)
Similar Threads
-
Parental Control access
By albec in forum macOS - Operating SystemReplies: 2Last Post: 02-16-2013, 02:35 PM -
Access Control - Time Capsule
By TODAY in forum Internet, Networking, and WirelessReplies: 1Last Post: 01-11-2012, 12:45 AM -
Mail.app message window now has extra annoying control
By nicwolff in forum macOS - Apps and GamesReplies: 1Last Post: 09-29-2010, 12:13 AM -
Software to control Airport access
By Credence in forum Internet, Networking, and WirelessReplies: 2Last Post: 05-05-2009, 04:19 PM -
access control lists
By stevenyc in forum Internet, Networking, and WirelessReplies: 2Last Post: 09-27-2007, 11:01 AM