I have Applescript which executes bash shell script using administrator privileges.
Script example: do shell script "/users/user/documents/install.sh" with administrator privileges
In Catalina, i always get an execution error - operation not permitted (126) message - bash script is not executed. Even if bash script is empty, error is the same, so i assume bash script is not the problem. Tried to do it as root - no success.
If i remove with administrator privileges, script is executed, but that's not a solution because i need to run it with privileges.
In previous macOS versions the same script is working without problems.
Any ideas? Thx in advance!!!
Script example: do shell script "/users/user/documents/install.sh" with administrator privileges
In Catalina, i always get an execution error - operation not permitted (126) message - bash script is not executed. Even if bash script is empty, error is the same, so i assume bash script is not the problem. Tried to do it as root - no success.
If i remove with administrator privileges, script is executed, but that's not a solution because i need to run it with privileges.
In previous macOS versions the same script is working without problems.
Any ideas? Thx in advance!!!
Last edited: