Post not yet marked as solved
Post marked as unsolved with 0 replies, 368 views
I have a user agent to schedule backups. Here it calls a shell script witch runs rsync:
<key>Program</key>
<string>/Users/x/backup.sh</string>
And here it runs the same shell script as an automator app:
<key>ProgramArguments</key>
<array>
<string>/usr/bin/open</string>
<string>/Users/x/backup.app</string>
</array>
The app gets executed without errors. The shellscript fails:
rsync: opendir "folder" failed: Operation not permitted
How do I get the shellscript running? What causes the error?