Thanks for sharing, @jamesandre !I'm just testing it in our environment,
and will deploy it wider soon. Just a heads up that there's a typo in
your post;This line:A log file (/Library/Scripts/jamfRestart.sh) that
captures that output of the script.sh...
one option is to grant Terminal full system access, but the solution
most people seem to be promoting is to switch to HTTPS distribution,
rather than
SMB/AFP:https://community.jamf.com/t5/jamf-pro/policies-failing-quot-operation-not-permitted-quot/m-...