If a user does not have authority to create files under another user id (meaning he has a null user id, meaning root, in most cases), all files he creates will belong to him. rsync is graceful enough to not even try. For basic unix skills, I'd recommend O'Reilly's "Unix in a Nutshell" http://www.oreilly.com/catalog/unixnut3 I've never read it, but O'Reilly seems to be the best with the technical books. Incidentally, even if you were running as root on the other end, you wouldn't preserve ownerships, as your commandline doesn't say to do so. you'd need the -o and -g options. You'd probably just want to use the -a (archive, preserve everything about it) option. It's equivalent to "glopr" (preserve group, symlinks, ownership, and permissions, recursively). The rsync distribution comes with some pretty good documentation on its options and functionality.
On the versions: I'm not sure where the cutoffs are for your versions, but as they work at all, you're probably ok. You'll probably, however, want to upgrade the 2.3.0 system, and if you're running large jobs, you'll want to, at the least, patch the 2.4 with the rsync-nohang patches. I personally, am getting so frustrated with the 2.4 series on huge trees (currently about 130Gb in 24M files), that i'm about ready to revert to 2.3.1. I'll miss --bwlimit, but oh, well. Tim Conway [EMAIL PROTECTED] 303.682.4917 Philips Semiconductor - Longmont TC 1880 Industrial Circle, Suite D Longmont, CO 80501 Available via SameTime Connect within Philips Available as n9hmg on AIM perl -e 'print pack(nnnnnnnnnnnn, 19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970), ".\n" ' "There are some who call me.... Tim?" Jeff Beley <[EMAIL PROTECTED]> on 10/17/2001 01:21:52 PM To: Tim Conway/LMT/SC/PHILIPS@AMEC cc: Subject: Re: problems between different versions of rsync Classification: correct. On Wed, Oct 17, 2001 at 01:19:39PM -0600, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I'm just guessing: the files on the machine where you're invoking the transfer >belong to the user who created them, probably with his default group, and on the >machine you're sending to, they belong to the user in "user@host", and his default >group, > right? > > Tim Conway > [EMAIL PROTECTED] > 303.682.4917 > Philips Semiconductor - Longmont TC > 1880 Industrial Circle, Suite D > Longmont, CO 80501 > Available via SameTime Connect within Philips > Available as n9hmg on AIM > perl -e 'print pack(nnnnnnnnnnnn, >19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970), ".\n" ' > "There are some who call me.... Tim?" > > > > > > Jeff Beley <[EMAIL PROTECTED]>@lists.samba.org on 10/17/2001 11:39:38 AM > > Sent by: [EMAIL PROTECTED] > > > To: [EMAIL PROTECTED] > cc: (bcc: Tim Conway/LMT/SC/PHILIPS) > Subject: problems between different versions of rsync > Classification: > > > > Are there issues between different versions of rsync? Specifically I > have a 2.4.6 on solaris 8 pushing to a 2.3.0 on solaris 2.6 over > ssh(F-Secure version). The issue that I am seeing is that when I use > the following command: > > rsync --delete -rlvp -e ssh2 $localdir user@host:remotedir > > The user and group are different on both boxes(neither being root). > > Any help would be appreciated. > > --Jeff > > -- > Jeff Beley > Internet Services > > > > > -- Jeff Beley Internet Services