The key here is that the user doing the rsync process has enough permissions to read all the files of the other users, and that -pog are included in the parms passed to rsync <which is the default if -a is used>. Something like;

<as root perhaps or a user included in all the groups of all the other users and the dirs/files have proper group settings>

cd filesys-tosync

rsync -azvv . [EMAIL PROTECTED]:file-sys-mirror

Thanks,

Ron DuFresne


jw schultz wrote:


On Wed, Sep 24, 2003 at 05:45:19AM +0000, Payal Rathod wrote:


Hi,
I have 2 ftp servers with 3 identical users.
I want server B to be updated of server A.
Whatever changes mmade by users on server A should be made on server B
say every 5 hours.



As long as it is unidirectional, yes.




Is rsync the right tool to use here?
Can rsync be used such that only changed files are downloaded?



That's what rsync does.







--
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