Rsyncd log file permission
Jonathan Chen -X (jonachen - The Armada Group,
Inc. at Cisco)
jonachen at cisco.com
Fri Feb 24 19:15:48 GMT 2006
Thanks! That solution is fine too.
Rsyncd is run as a root daemon while syncing will be performed by a
regular user.
> -----Original Message-----
> From: Wayne Davison [mailto:wayned at samba.org]
> Sent: Thursday, February 23, 2006 11:18 PM
> To: Jonathan Chen -X (jonachen - The Armada Group, Inc. at Cisco)
> Cc: rsync at lists.samba.org
> Subject: Re: Rsyncd log file permission
>
> On Wed, Feb 22, 2006 at 10:13:32AM -0800, Jonathan Chen -X wrote:
> > Hi I am wondering if there is any way to change the file
> permission of
> > "rsync.log" and "rsyncd.lock" via rsyncd.conf.
>
> No, but you can preset the permissions to anything you like.
> After all, rsync will just append lines to an existing file.
> So, if you need a log file that can be appended by multiple
> people, make it group-writable by both users.
>
> That said, I'm at a bit of a loss as to why this is
> necessary. If you aren't leaving the daemon running, why
> doesn't each user just use a customized rsyncd.conf file to
> start the daemon?
>
> ..wayne..
>
More information about the rsync
mailing list