OSX zero file length problem

Brett Eldridge beldridg at pobox.com
Wed May 28 01:12:56 EST 2003

i have searched through the list archives and google, and can't find
anything similar.

client is running OSX 10.2.6
server is openbsd 3.2 and/or linux 2.4.x
rsync on both sides is version 2.5.5.

when i try to rsync a directory, all files get overwritten on the
server side with 0 file length. here is an example (server is .5):

[beldridg at rover]$ rsync -a -vvv -e ssh tool-etc/
opening connection using ssh rsync --server -vvvlogDtpr .

on the client side:

  recv_files(576) starting
  set modtime of X11 to (1049338547) Wed Apr  2 18:55:47 2003
  X11/XF86Config-4 -> /etc/X11/XF86Config-4.novm
  send_files mapped /tmp/rsynczeroattr.080845 of size 22
  calling match_sums /tmp/rsynczeroattr.080845
  sending file_sum
  false_alarms=0 tag_hits=0 matches=0

and here is waht results on the server:

  (07:47:56)[beldridg at tool tmp]$ ll X11/XF86Config-4*
  lrwxrwxrwx  1 beldridg  users  26 May 27 07:45 X11/XF86Config-4 -> /etc/X11/XF86Config-4.novm
  -rw-r--r--  1 beldridg  users   0 Nov  2  2002 X11/XF86Config-4.novm
  -rw-r--r--  1 beldridg  users   0 Nov  6  2002 X11/XF86Config-4.vm
  -rw-r--r--  1 beldridg  users   0 Nov 20  2002 X11/XF86Config-4.vm.800

this happens for every file. they are all written with 0 file
length. i have checked permissions and tried both openbsd and linux
on the receiving end.


- brett

More information about the rsync mailing list