I set up an macOS jenkins agent and tried to ran jenkins job on it, job failed with "Operation not permitted":
Remark: macOS agent is launched via ssh.
CodePudding user response:
The problem is caused by secure setting on macOS agent, enable sshd-keygen-wrapper Full Disk Access
fixed this issue: