Actually, I tried that earlier and it didn't work. The connection terminates unexpectedly almost immediately after the process begins. Rsyncd uses user nobody by default, and that user can't create the files on the server. That would work perfectly if the server was the source, but in my case it's the destination.
After your suggestion I did discover a solution, though. I had to explicitly assign uid and gid to root in rsyncd.conf (hmmm, security?). Well, I have also restricted the allowed hosts and the segment is behind a firewall that filters the rsyncd port, so it should be reasonably secure.
Thanks for helping out Wayne.
joe
From: Wayne Davison <[EMAIL PROTECTED]>
To: acct svcs <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: Question about file ownership on destination
Date: Mon, 29 Dec 2003 15:26:53 -0800
MIME-Version: 1.0
Received: from binome.blorf.net ([216.228.9.89]) by mc10-f41.hotmail.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 29 Dec 2003 15:26:53 -0800
Received: by binome.blorf.net (Postfix, from userid 1000)id 93EA62FA3; Mon, 29 Dec 2003 15:26:53 -0800 (PST)
X-Message-Info: JGTYoYF78jH5atsNlNatiOZjTbY+656T
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.4i
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 29 Dec 2003 23:26:53.0192 (UTC) FILETIME=[3DE3A880:01C3CE63]
On Mon, Dec 29, 2003 at 05:23:21PM -0500, acct svcs wrote: > AFAIK, the daemon is running as root.
Quoting from the rsyncd.conf file you cited:
uid = server1 gid = server1
Comment-out these lines.
..wayne..
_________________________________________________________________
Make your home warm and cozy this winter with tips from MSN House & Home. http://special.msn.com/home/warmhome.armx
-- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html