Post

Replies

Boosts

Views

Activity

Reply to Rsync and operation not permitted
Hi, I also am having an issue starting a shellscript that runs the command cp -R. This copies folders from a NAS (SMB) Mounted Volume to itself. However I get the Operation not permitted error as well. I have added sh, Terminal, smbd and more to the Full Disk Accesses system preferences. Thank you,
Jul ’20
Reply to Operation Not Permitted error while trying to access Network Volumes from the Jenkins shell
Update: I was checking out the Jenkins Launch agent(.plist) that is running on the Build Machine. And Jenkins gives you a snippet of code to run in the Terminal on the BuildMachine to re-run the Launch Agent. It looks something like this: java -****** -jar agent.jar -jnlpUrl htp://jenkinsserver.studio.net:/...../*****-agent.jnlp -secret ************* After running this command. Then running the Jenkins Job with a simple command in the Jenkins Execute Shell: ls /Volumes/..... A prompt popped up on the BuildMachine's screen asking for permission for the Java process (LaunchAgent) to access the network volume. The operation had permission! Make sure to add the necessary applications to Full Disk Access. Hope this helps!
Jul ’20