osx remote backup wrong permissions

Robert DuToit rdutoit at comcast.net
Sat Oct 30 08:02:07 MDT 2010

Hi All,

I'm trying a remote backup for the first time. It is between two laptops, I installed rsync 3.0.7 on both compiled

patch -p1 <patches/fileflags.diff

patch -p1 <patches/crtimes.diff

patch -p1 <patches/crtimes-64bit.diff

patch -p1 <patches/crtimes-hfs+.dif
patch -p1 <patches/hfs_compression.diff 



this all works perfectly for local backups, clones etc. Everything gets copied as is to the volume.

I have tried without ssh keys, with keys, keys with and without passwords (via ssh-agent) and it all works except that it won't copy the correct permissions on System files

example run with locked system folder var/audit going to servername at (not my real address here of course):

sudo /rsync -aNHAXx  --protect-args --fileflags --protect-decmpfs --force-change --stats --progress -vvv --rsync-path=/rsync  /private/var/audit  servername at

Ignore ownership unchecked on dest.

The permissions are changed from read&write only on System to read&write on my user account on the receiver. I copied the whole System but the results were the same though some files had permission denied errors. The output on my test folder show nothing remarkable, no errors, etc.  Am I missing something here? 

Any thoughts appreciated or directions to look in. 

Thanks,  Rob

delta-transmission enabled
recv_files(1) starting
send_files(2, /private/var/audit)
set modtime of audit to (1288417603) Sat Oct 30 01:46:43 2010
send_files(3, /private/var/audit/20100701144405.20100702030039)
send_files mapped /private/var/audit/20100701144405.20100702030039 of size 21066
calling match_sums /private/var/audit/20100701144405.20100702030039
       21066 100%    0.00kB/s    0:00:00
sending file_sum
false_alarms=0 hash_hits=0 matches=0
       21066 100%    0.00kB/s    0:00:00 (xfer#1, to-check=240/242)
sender finished /private/var/audit/20100701144405.20100702030039
send_files(4, /private/var/audit/20100702030127.20100702052825)
send_files mapped /private/var/audit/20100702030127.20100702052825 of size 15417
calling match_sums /private/var/audit/20100702030127.20100702052825
       15417 100%    7.35MB/s    0:00:00
sending file_sum
false_alarms=0 hash_hits=0 matches=0
       15417 100%    7.35MB/s    0:00:00 (xfer#2, to-check=239/242)
sender finished /private/var/audit/20100702030127.20100702052825
send_files(5, /private/var/audit/20100702111829.20100703030341)
send_files mapped /private/var/audit/20100702111829.20100703030341 of size 64184
calling match_sums /private/var/audit/20100702111829.20100703030341

######and later on down the page#######

generate_files phase=1
got file_sum
set modtime of audit/.20100701144405.20100702030039.U7yt17 to (1278039638) Thu Jul  1 23:00:38 2010
renaming audit/.20100701144405.20100702030039.U7yt17 to audit/20100701144405.20100702030039
got file_sum
set modtime of audit/.20100702030127.20100702052825.hzHr5M to (1278048505) Fri Jul  2 01:28:25 2010
renaming audit/.20100702030127.20100702052825.hzHr5M to audit/20100702030127.20100702052825
got file_sum
set modtime of audit/.20100702111829.20100703030341.sSoTwl to (1278126221) Fri Jul  2 23:03:41 2010
renaming audit/.20100702111829.20100703030341.sSoTwl to audit/20100702111829.20100703030341
got file_sum

More information about the rsync mailing list