<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_1_1441924636565_5858">Hi Kevin, <br></div><div id="yui_3_16_0_1_1441924636565_5594"><br></div><div id="yui_3_16_0_1_1441924636565_5663">Thank you very much. I changed my user in the remote machine (su). <br></div><div id="yui_3_16_0_1_1441924636565_5596"><br></div><div id="yui_3_16_0_1_1441924636565_5603">Then, by trying again with rsync but with no modification in the source folder, I see that file ownership continues the same.<br></div><div id="yui_3_16_0_1_1441924636565_5601"><br></div><div>Would be possible for rsync to change the ownership in this case (I am not root) ?</div><div id="yui_3_16_0_1_1441924636565_5852"><br></div><div id="yui_3_16_0_1_1441924636565_5853">Thanks, <br></div><div id="yui_3_16_0_1_1441924636565_5855">Regards,</div><div>CJ<br><span></span></div><div dir="ltr" id="yui_3_16_0_1_1441924636565_5665"><br><span></span></div><div id="yui_3_16_0_1_1441924636565_5728"><span></span></div>  <br><div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 13px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"> <font face="Arial" size="2"> Em Quinta-feira, 10 de Setembro de 2015 20:01, Kevin Korb <kmk@sanitarium.net> escreveu:<br> </font> </div>  <br><br> <div class="y_msg_container">-----BEGIN PGP SIGNED MESSAGE-----<br clear="none">Hash: SHA1<br clear="none"><br clear="none">The syntax looks correct.  However, note that only root can chown.<br clear="none">You must be running rsync on the target end as root for --chown or<br clear="none">- --owner to work.  If you aren't using root access then just run the<br clear="none">target rsync as the user you want the files to be owned by and it will<br clear="none">have no choice.<br clear="none"><br clear="none">On 09/10/2015 06:42 PM, Celso de Sousa Junior wrote:<br clear="none">> Hi,<br clear="none">> <br clear="none">> Please, I am using rsync to synchronize local machine with remote<br clear="none">> machine.<br clear="none">> <br clear="none">> I already have some files copied. Now I have to change the<br clear="none">> ownership from existing files in the destination folder.<br clear="none">> <br clear="none">> I tried the following options but it did not worked. Can you please<br clear="none">> help me with other options or alternatives ?<br clear="none">> <br clear="none">> --perms --chown=user:group --chmod=777 --exclude-from=$EXCLUDES<br clear="none">> -avzi --rsync-path="/usr/local/bin/rsync" -e ssh<br clear="none">> <br clear="none">> Thanks, Regards, CJ<br clear="none">> <br clear="none">> <br clear="none"><br clear="none">- -- <br clear="none">~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,<br clear="none">- -*~<br clear="none">    Kevin Korb            Phone:    (407) 252-6853<br clear="none">    Systems Administrator        Internet:<br clear="none">    FutureQuest, Inc.        <a href="" class="removed-link" shape="rect" ymailto="mailto:Kevin@FutureQuest.net">Kevin@FutureQuest.net</a>  (work)<br clear="none">    Orlando, Florida        <a href="" class="removed-link" shape="rect" ymailto="mailto:kmk@sanitarium.net">kmk@sanitarium.net</a> (personal)<br clear="none">    Web page:            <a href="" class="removed-link" shape="rect" target="_blank">http://www.sanitarium.net/</a><br clear="none">    PGP public key available on web site.<br clear="none">~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,<br clear="none">- -*~<br clear="none">-----BEGIN PGP SIGNATURE-----<br clear="none">Version: GnuPG v2<br clear="none"><br clear="none">iEYEARECAAYFAlXyC+UACgkQVKC1jlbQAQccPACgheVhOzBICfSu936tDNoCnPBo<br clear="none">tMEAoIRoq6PbeqNrK444MiwXuxWh1dJU<br clear="none">=MI7X<br clear="none">-----END PGP SIGNATURE-----<br clear="none"><br clear="none">-- <br clear="none">Please use reply-all for most replies to avoid omitting the mailing list.<br clear="none">To unsubscribe or change options: <a href="" class="removed-link" shape="rect" target="_blank">https://lists.samba.org/mailman/listinfo/rsync</a><br clear="none">Before posting, read: <a href="" class="removed-link" shape="rect" target="_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a><div class="yqt4059908945" id="yqtfd82050"><br clear="none"></div><br><br></div>  </div> </div>  </div></div></body></html>