Cannot call .sh script in user folder from launchd due to sandbox protection policy
I noticed that I apparently cannot call a script in a location such as /library/user/[name] using a launchd command like „bash script.sh“ as I am then getting a „Sandbox: Read File Deny“ policy error in console. However, calling the script using the same command from a terminal window works just fine.
Does anyone know where I would have to place the script file to be able to call it from a launchd command?
Many thanks!
MacBook Pro 15", macOS 10.15