Owner and group

jw schultz jw at pegasys.ws
Mon Jan 27 11:12:00 EST 2003


On Mon, Jan 27, 2003 at 11:25:38AM +0100, Jean-Hugues BELPOIS wrote:
> Hi all,
> 
> When i use rsync with on the server :
> 
> motd file = /etc/rsyncd.motd
> log file = /var/log/rsyncd.log
> pid file = /var/run/rsyncd.pid
> lock file = /var/run/rsync.lock
> 
> [filieres]
>         path = /home2
>         comment = Repertoire de sauvegarde des filieres
>         read only = no
>         hosts allow = 172.18.1.246  # vador only
>         dont compress = *.gz *.jpg *.zip *.rpm *.tgz
> 
> note : the service launch with #rsync --daemon
> 
> And on the client :
> 
> # rsync -azrtplog /home2/* 172.18.1.241::filieres
> 
> all the files and directory are to set the user and group nobody (despite
> that i use the options -o and -g).
> 
> Could anybody tell me why -go seems to does'nt work ? and what can I do to
> preserve these information on all the files transfered ?

You failed to specify the uid for the module so it is
defaulting to nobody.  To run as root so that ownership may
be preserved you must specify uid = root.

-- 
________________________________________________________________
	J.W. Schultz            Pegasystems Technologies
	email address:		jw at pegasys.ws

		Remember Cernan and Schmitt



More information about the rsync mailing list