rsync opendir: Operation not permitted

JoySeeley
New Contributor III

So I can run this from Self Serve, and it runs flawlessly.

rsync -rltgoD --progress --no-p --delete --cvs-exclude /Users/"$loggedInUser"/Documents /Volumes/dfs/"$adOU/"$loggedInUser/Mac_Documents

If I try to run it at login, it errors out with: "/Users/XXXXX/Documents" failed: Operation not permitted (1)

How do I get it to run without error, as a login policy?

Thank you in advanced!

0 REPLIES 0