Question about file ownership on destination

acct svcs heartofthematter at
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>
>To: acct svcs <heartofthematter at>
>CC: rsync at
>Subject: Re: Question about file ownership on destination
>Date: Mon, 29 Dec 2003 15:26:53 -0800
>MIME-Version: 1.0
>Received: from ([]) by 
>with Microsoft SMTPSVC(5.0.2195.6713); Mon, 29 Dec 2003 15:26:53 -0800
>Received: by (Postfix, from userid 1000)id 93EA62FA3; Mon, 
>29 Dec 2003 15:26:53 -0800 (PST)
>X-Message-Info: JGTYoYF78jH5atsNlNatiOZjTbY+656T
>Message-ID: <20031229232653.GB18544 at>
>References: <20031229190541.GC17016 at> 
><BAY9-F539LLQtQeZMzE00036fb0 at>
>In-Reply-To: <BAY9-F539LLQtQeZMzE00036fb0 at>
>User-Agent: Mutt/1.5.4i
>Return-Path: wayned at
>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 mailing list