rsync'd files&dirs saved as user:group = "unknown":"unknown", NOT original ownership

snowcrash+rsync schneecrash+rsync at gmail.com
Mon Nov 6 21:18:47 GMT 2006


hello,


i've rsync installed:

	rsync  version 2.6.9pre3  protocol version 29
	Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles,
              inplace, no IPv6, 32-bit system inums, 64-bit internal inums


i'm PULLing via rsync+ssh from BoxA to BoxB, eg:

   root at localhost /tmp  > /usr/local/rsync/bin/rsync \
   --rsh=/usr/local/openssh/bin/ssh \
   --rsync-path=/usr/local/rsync/bin/rsync \
   --verbose --stats \
   --archive \
   --super --owner --group --numeric-ids \
   --recursive \
   --no-implied-dirs \
   --compress-level=0 \
   root at server.mydomain.com:/var/test /tmp/rsync

the SRC dir '/var/test",

 root at server /var/test  > ls -al
   total 4
   drwxr-xr-x  3 root wheel  102 Nov  6 07:05 .
   drwxr-xr-x 30 root wheel 1020 Nov  6 07:05 ..
   -rw-r--r--  1 root wheel  165 Nov  6 07:24 test.txt

IS successfully archived in "tmp" dir/file,

 root at localhost /tmp/rsync > ls -al
   total 4
   drwxr-xr-x 3 unknown unknown 102 Nov  6 07:05 ./
   drwxr-xr-x 3 unknown unknown 102 Nov  6 07:40 ../
   -rw-r--r-- 1 unknown unknown 165 Nov  6 07:24 test.txt

but, although the creation times/dates are maintained, the user:group
are NOT ... changed, instead to "unknown":"unknown"

what MORE/DIFFERENT needs to be set to preserve orig/source user:group?

thanks.


More information about the rsync mailing list