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/ 192.168.3.5:/home/beldridg/tmp/
opening connection using ssh 192.168.3.5 rsync --server -vvvlogDtpr .
/home/beldridg/tmp/


on the client side:

  recv_files(576) starting
  set modtime of X11 to (1049338547) Wed Apr  2 18:55:47 2003
  X11/
  recv_generator(X11/XF86Config-4,2)
  X11/XF86Config-4 -> /etc/X11/XF86Config-4.novm
  recv_generator(X11/XF86Config-4.novm,3)
  send_files(3,tool-etc/X11/XF86Config-4.novm)
  send_files mapped /tmp/rsynczeroattr.080845 of size 22
  calling match_sums /tmp/rsynczeroattr.080845
  czeroattr.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.

thanks,

- brett





More information about the rsync mailing list