I am running rsync daemon as root user.

 by following command:

  #rsync --daemon --config=/etc/rsyncd.conf (on server)

 From Client, I am executing following command:
  #rsync /<Source foldername>   root@<IP Address of RSYNC Server
HOST>::<Dest Folder>

And I have also tried following options:

-o for owner, --owner
-p for permissions, --perm
-g for group, --group

but It is not able to preserve the owner and group id.

V. A. Thakar

> could you please let know as to who is the owner of "rsync" you can get
> it from ps -auwx |grep rsync
>
> cheers
>
> --
> Alpesh
> Software Engineer
> In-Reality Software Pvt Ltd
>
> On Tue, 2004-07-13 at 18:14, [EMAIL PROTECTED] wrote:
>> Dear List,
>>
>> I have 2 Red Hat Linux servers as below:
>>   1. Primary Mail Server
>>   2. Secondary Mail Server
>>
>> I want to mirror user's Home Directory from Primary mail server to
>> Secondary mail server.
>>
>> For that I am using rsync. During copy of files from Primary to
>> Secondary
>> server, It does not preserve Owner/Group Name.
>>
>> For testing, I had copied some files having owner/group id: root/root
>> But on Secondary server, It is displaying owner/group id: nobody/nobody
>>
>> Give me some pointer, so that I can preserve the file & folder owner ids
>> and group ids.
>>
>> If there is any thing better than rsync then also please share it.
>>
>> Thanx
>>
>> V. A. Thakar
>> Banas Dairy,
>> Palanpur, Guj.
>>
>>
>>
>>
>> -------------------------------------------------------
>> This SF.Net email sponsored by Black Hat Briefings & Training.
>> Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
>> digital self defense, top technical experts, no vendor pitches,
>> unmatched networking opportunities. Visit www.blackhat.com
>> _______________________________________________
>> linux-india-help mailing list
>> [EMAIL PROTECTED]
>> https://lists.sourceforge.net/lists/listinfo/linux-india-help
>
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
> digital self defense, top technical experts, no vendor pitches,
> unmatched networking opportunities. Visit www.blackhat.com
> _______________________________________________
> linux-india-help mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/linux-india-help
>



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to