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?
Post
Replies
Boosts
Views
Activity
I have a shellcript with a rsync routine started by a daily job with plist.Before Catalina everything was fine. Now:rsync: opendir "/Users/Username/Documents" failed: Operation not permittedManually calling the shell script executes rsync.Adding rsync to full access list in system preferences had no effect.How to grant rsync access?