You need to create an rsyncd.conf file that specifies uid root, and call rsync with that conf file when you start the daemon. Otherwise the daemon spawns processes as nobody by default, and "nobody" can't write files as other users. Check man rsyncd.conf for details.

Jim Salter
JRS Systems

I start it as root...

evedir01:/export/home#ps -ef | grep rsync
   root 19760     1  0 23:48:03 ?        0:00 rsync --daemon
evedir01:/export/home#

but... once I start my transfer from the source I see a daemon fire up as
nobody..

evedir01:/etc/inet#ps -ef | grep rsync
 nobody 20050 19760  1 00:01:19 ?        0:00 rsync --daemon
   root 19760     1  0 23:48:03 ?        0:00 rsync --daemon
evedir01:/etc/inet#


-----Original Message-----
From: Jim Salter [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 11:59 PM
To: Loukinas, Jeremy
Subject: Re: Rsync not preserving owner/group


The rsync process on the receiving end is probably running as nobody. If you want it to be able to set file ownership, you'll need to run it as root.

Jim Salter
JRS Systems



For some reason when using -owner -group my files end up being


nobody:nobody


on the destination..?
This is Solaris 9.


Jeremy S. Loukinas









-- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to