'AppleScript to add Application to Full Disk Access
To install Sophos Endpoint on MacOS, it requires adding Sophos Files to Full Disc Access.
I have a beginning script to open Security Preferences, go to Security & Privacy, go to the Privacy tab, Unlock, and the ability to put a check in existing applications in Full Disk Access. I however am stuck in "adding an application" where i can add the application to the existing list.
I would need to pull from /Library/ and from /Applications/Sophos/
The script I have gets me into Privacy\Full Disk Access and unlocked, but I can't get it to click the "Add an application".
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|