Question about file ownership on destination
heartofthematter at hotmail.com
Tue Dec 30 14:38:17 EST 2003
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.
>From: Wayne Davison <wayned at samba.org>
>To: acct svcs <heartofthematter at hotmail.com>
>CC: rsync at lists.samba.org
>Subject: Re: Question about file ownership on destination
>Date: Mon, 29 Dec 2003 15:26:53 -0800
>Received: from binome.blorf.net ([22.214.171.124]) 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)
>Message-ID: <20031229232653.GB18544 at binome.blorf.net>
>References: <20031229190541.GC17016 at binome.blorf.net>
><BAY9-F539LLQtQeZMzE00036fb0 at hotmail.com>
>In-Reply-To: <BAY9-F539LLQtQeZMzE00036fb0 at hotmail.com>
>Return-Path: wayned at samba.org
>X-OriginalArrivalTime: 29 Dec 2003 23:26:53.0192 (UTC)
>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.
Make your home warm and cozy this winter with tips from MSN House & Home.
More information about the rsync