I have a share on one mac that I am trying to rsync a set of directories from a second mac.
The share is mounted on the second mac and ls -l shows access like for all the directories drwx---rwx 1 shaun staff 466 Nov 23 06:53 Backup, but I am getting the error: rsync: failed to set times on "/Volumes/Data/Media Library/Documents": Permission denied (13).
The perl script (with only one test directory) is:
$source = '/Volumes/LEXAR64GB';
$destination = '/Volumes/Data/Media Library';
@folders = ('Documents');
print "Working…\n";
foreach $i (@folders) {
print "Processing: $i\n";
system("rsync -arub --delete --backup-dir='$destination/rsync backup' --modify-window=1 '$source/$i/' '$destination/$i'");
}
Should I be running the command as a different user?