Hi,
I have been trying to implement rsync as a backup solution for several
file servers, and am almost there, but can't get any ideas about this
remaining issue even from the RsyncX forum.
I am getting permissions-based errors on several files/directories,
usually when trying to access items on the destinations. The rsync
script should be doing everything as root, and is run from the root
crontab, so I can't figure why it isn't running with enough permission.
If I put sudo before the command, everything runs fine. I am using
key authentication and so do not want to use sudo as a solution. Can
someone point out where along the line something is not happening as
root that needs to? Much obliged.
BTW, I am not running RsynX at this point, although I tried it and the
results were the same. Cron settings were made with CronniX.
Here is one of the commands from the script:
echo '--lit+music--';
time rsync -e "ssh -i /Users/admin/.ssh/id_dsa" -azvv
--exclude-from=/Users/admin/Desktop/exclude.txt --delete-excluded
email@hidden.6.3:/Volumes/Lit\\\ Music/ /Volumes/LitMusic_Backup
Here is the root user crontab:
0 0 * * 1,2,3,4,5 /usr/bin/open
/Users/admin/Desktop/rsync.command
Here is a sample of some errors:
opendir "/Volumes/LitMusic_Backup/williams/.Trash" failed: Permission
denied
opendir "/Volumes/LitMusic_Backup/williams/Desktop" failed: Permission
denied
opendir "/Volumes/LitMusic_Backup/williams/Documents" failed:
Permission denied
opendir "/Volumes/LitMusic_Backup/williams/Public/Drop Box" failed:
Permission denied
recv_generator: failed to open
"/Volumes/LitMusic_Backup/aaronba/Desktop/.DS_Store": Permission denied
recv_generator: failed to open
"/Volumes/LitMusic_Backup/aaronba/Desktop/.localized": Permission
denied
recv_generator: failed to open
"/Volumes/LitMusic_Backup/aaronba/Desktop/ships.gif": Permission denied
Thanks very much...
-----
Brian Heller
email@hidden
www.WhatTheHeller.com