<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->


<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">That worked like a champ. Thank you.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Kevin Korb [via Samba] [mailto:ml-node+<a href="/user/SendEmail.jtp?type=node&node=4655313&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>]
<br>
<b>Sent:</b> Friday, October 18, 2013 2:41 PM<br>
<b>To:</b> Kevin Mullen<br>
<b>Subject:</b> Re: ownership and permissions using rsync in daemon mode<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">-----BEGIN PGP SIGNED MESSAGE----- <br>
Hash: SHA1 <br>
<br>
When fake super is active rsync stores all ownership and permission <br>
info within extended attributes instead of the filesystem. <br>
<br>
On 10/18/13 13:42, kevin mullen wrote: <o:p></o:p></p>
<div>
<p class="MsoNormal"><br>
> I've tried as best I can to get this worked out, and crawled the <br>
> web and the documentation but I just can't seem to figure out how <br>
> to maintain ownership and permissions from the sending side using <br>
> rsync in daemon mode.  I feel I have to be missing something stupid <br>
> with the proper use of uid/gid/fake super. I'm trying to automate <br>
> synchronizing some program binaries between a production and warm <br>
> spare environment. I can't use pre-shared ssh certificates. In the <br>
> sample below the user install/staff is on both machines. <br>
> <br>
> Setup: <br>
> <br>
> Daemon side: AIX 6.1.8 64 bit. Rsync 3.06 and rsync 3.1.0. <br>
> <br>
> <br>
> Running from inetd: <br>
> <br>
> rsync   stream  tcp     nowait  root    /usr/bin/rsync rsyncd <br>
> –daemon <br>
> <br>
> <br>
> # pg rsyncd.conf motd file = none log file = /var/log/rsyncd.log <br>
> secrets file = /etc/rsyncd.secrets <br>
> <br>
> [r2a15] path = /usr/A15 uid = root gid = system fake super = yes <br>
> hosts allow = 172.22.22.2 hosts deny = * list = true read only = <br>
> false write only = true auth users = username <br>
> <br>
> <br>
> sender side: AIX 6.1.4 64 bit rsync 3.0.6 <br>
> <br>
> Run from command prompt as root <br>
> <br>
> /usr/bin/rsync -av --progress --stats --delete –z /usr/A15/* <br>
> <a href="/user/SendEmail.jtp?type=node&node=4655313&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br>
> <br>
> Source sample: -rwxrwxrwx    1 install  staff         25856 Jul 30 <br>
> 11:03 LNTIM2 -rwxrwxrwx    1 install  staff         27392 Jul 30 <br>
> 11:11 LNTIM3 -rwxrwxrwx    1 install  staff         29440 Oct 18 <br>
> 10:46 LNTIM4 <br>
> <br>
> Destination result on new file write (doesn’t exist on daemon <br>
> server) <br>
> <br>
> -rwx------    1 root     system        25856 Jul 30 11:03 LNTIM2 <br>
> -rwx------    1 root     system        27392 Jul 30 11:11 LNTIM3 <br>
> -rwx------    1 root     system        28928 Sep 30 14:23 LNTIM4 <br>
> <br>
> <br>
> <br>
> <br>
> -- View this message in context: <br>
> <a href="http://samba.2283325.n4.nabble.com/ownership-and-permissions-using-rsync-in-daemon-mode-tp4655301.html" target="_top" rel="nofollow" link="external">
http://samba.2283325.n4.nabble.com/ownership-and-permissions-using-rsync-in-daemon-mode-tp4655301.html</a><br>
> <br>
> <o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Sent from the Samba - rsync mailing list archive at Nabble.com.
<br>
> <br>
<br>
- -- <br>
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._,-*~ <br>
        Kevin Korb Phone:    (407) 252-6853 <br>
        Systems Administrator Internet: <br>
        FutureQuest, Inc. <a href="/user/SendEmail.jtp?type=node&node=4655305&i=0" target="_top" rel="nofollow" link="external">
[hidden email]</a>  (work) <br>
        Orlando, Florida <a href="/user/SendEmail.jtp?type=node&node=4655305&i=1" target="_top" rel="nofollow" link="external">
[hidden email]</a> (personal) <br>
        Web page: <a href="http://www.sanitarium.net/" target="_top" rel="nofollow" link="external">http://www.sanitarium.net/</a><br>
        PGP public key available on web site. <br>
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._,-*~ <br>
-----BEGIN PGP SIGNATURE----- <br>
Version: GnuPG v2.0.22 (GNU/Linux) <br>
Comment: Using GnuPG with Thunderbird - <a href="http://www.enigmailnet/" target="_top" rel="nofollow" link="external">
http://www.enigmail.net/</a><br>
<br>
iEYEARECAAYFAlJhfgIACgkQVKC1jlbQAQeQFQCcC+YmHmthX0yG4yUzCB3i02NR <br>
04kAoI1rnDF4YKtP1H6anQJcAWTCLL00 <br>
=EHfg <br>
-----END PGP SIGNATURE----- <br>
-- <br>
Please use reply-all for most replies to avoid omitting the mailing list. <br>
To unsubscribe or change options: <a href="https://lists.samba.org/mailman/listinfo/rsync" target="_top" rel="nofollow" link="external">
https://lists.samba.org/mailman/listinfo/rsync</a><br>
Before posting, read: <a href="http://www.catb.org/~esr/faqs/smart-questions.html" target="_top" rel="nofollow" link="external">
http://www.catb.org/~esr/faqs/smart-questions.html</a> <o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="1" width="100%" noshade="" style="color:#CCCCCC" align="center">
</div>
<div>
<div>
<p class="MsoNormal"><b><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#444444">If you reply to this email, your message will be added to the discussion below:<o:p></o:p></span></b></p>
</div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#444444"><a href="http://samba.2283325.n4.nabble.com/ownership-and-permissions-using-rsync-in-daemon-mode-tp4655301p4655305.html" target="_top" rel="nofollow" link="external">http://samba.2283325.n4.nabble.com/ownership-and-permissions-using-rsync-in-daemon-mode-tp4655301p4655305.html</a>
<o:p></o:p></span></p>
</div>
<div style="margin-top:4.8pt">
<p class="MsoNormal" style="line-height:18.0pt"><span style="font-size:8.5pt;font-family:"Tahoma","sans-serif";color:#666666">To unsubscribe from ownership and permissions using rsync in daemon mode,
<a href="" target="_top" rel="nofollow" link="external">
click here</a>.<br>
<a href="http://samba.2283325.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" target="_top" rel="nofollow" link="external"><span style="font-size:7.0pt;font-family:"Times New Roman","serif"">NAML</span></a>
<o:p></o:p></span></p>
</div>
</div>




        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://samba.2283325.n4.nabble.com/ownership-and-permissions-using-rsync-in-daemon-mode-tp4655301p4655313.html">RE: ownership and permissions using rsync in daemon mode</a><br/>
Sent from the <a href="http://samba.2283325.n4.nabble.com/Samba-rsync-f2500462.html">Samba - rsync mailing list archive</a> at Nabble.com.<br/>