Post not yet marked as solved
Post marked as unsolved with 14 replies, 12,316 views
We use rsync to backup a user's documents to a network share and I seem to have run into an issue having it run at login.I can run the script below, at the terminal prompt, without root access, and the rync command will run without error and I will get a successful backup on the network share:rsync -rltgoD --progress --no-p --delete --cvs-exclude ~/Documents /Volumes/dfs/"$adOU"/"$loggedInUser"/"$computerName"When I add that command to be run by Enterprise Connect after a successful login, it fails with the following error message:building file list ...0 files...rsync: opendir "/Users/<USERNAME>/Documents" failed: Operation not permitted (1)1 file to considerIO error encountered -- skipping file deletionCurrently running 10.15.1Thank you for any advice.