-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ahh, I see that that is in fact what the man page says. So, it is either a bug in rsync or mis-information in the man page. I will let you test out which.
On 07/22/2014 09:54 PM, jerrycww...@hsbc.com.hk wrote: > Thanks Kevin, I'll test it out. From the man page I saw -A implies > -p, that's why I thought I don't have to put -p. > > > From: Kevin Korb <k...@sanitarium.net> To: rsync@lists.samba.org > Date: 07/23/2014 09:52 AM Subject: Re: Fw: rsync permission > error Sent by: rsync-boun...@lists.samba.org > > > ------------------------------------------------------------------------ > > > > > Permissions are -p. -A is only the extra ACL stuff that ls -l > doesn't show. > > On 07/22/2014 09:34 PM, jerrycww...@hsbc.com.hk wrote: >> Hi All > >> I found that the rsync cannot fully sync permission although I >> have specified the -A option. The ACL is ok but the permission >> itself is not. > >> *_rsync command:_* rsync -rtgoDAh --stats --files-from=flist.txt >> --log-file=$DetailLogPath $OldPath $NewPath & > >> *_Old Server_*_(rsync version 3.0.4):_ -rw-r-----+ 1 43810537 >> imopfs 246784 Jul 22 10:17 miki2.sas7bdat > >> *_New Server_*_(rsync version 3.0.6)*:*_ -rw-rw----+ 1 43810537 >> imopfs 361472 Jul 1 14:09 miki2.sas7bdat > >> Thanks and regards Jerry Wong > >> ************************************************************ >> HSBC Global Asset Management (Hong Kong) Limited whose >> registered address is HSBC Main Building, 1 Queen's Road Central, >> Hong Kong >> ************************************************************ >> ----------------------------------------- >> ******************************************************************* >> >> This e-mail is confidential. It may also be legally privileged. If >> you are not the addressee you may not copy, forward, disclose or >> use any part of it. If you have received this message in error, >> please delete it and all copies from your system and notify the >> sender immediately by return e-mail. Internet communications >> cannot be guaranteed to be timely, secure, error or virus-free. >> The sender does not accept liability for any errors or >> omissions. >> ******************************************************************* > >> > > "SAVE PAPER - THINK BEFORE YOU PRINT!" > > > > -- Please use reply-all for most replies to avoid omitting the > mailing list. To unsubscribe or change options: > https://lists.samba.org/mailman/listinfo/rsync Before posting, > read: http://www.catb.org/~esr/faqs/smart-questions.html > > > > > ************************************************************ HSBC > Global Asset Management (Hong Kong) Limited whose registered > address is HSBC Main Building, 1 Queen's Road Central, Hong Kong > ************************************************************ > ----------------------------------------- > ******************************************************************* > This e-mail is confidential. It may also be legally privileged. If > you are not the addressee you may not copy, forward, disclose or > use any part of it. If you have received this message in error, > please delete it and all copies from your system and notify the > sender immediately by return e-mail. Internet communications cannot > be guaranteed to be timely, secure, error or virus-free. The sender > does not accept liability for any errors or omissions. > ******************************************************************* > > "SAVE PAPER - THINK BEFORE YOU PRINT!" - -- ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ Kevin Korb Phone: (407) 252-6853 Systems Administrator Internet: FutureQuest, Inc. ke...@futurequest.net (work) Orlando, Florida k...@sanitarium.net (personal) Web page: http://www.sanitarium.net/ PGP public key available on web site. ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlPPFnAACgkQVKC1jlbQAQd8xACggRi+KU25FvoAoYJX6bIB7aB4 rDYAoN8pFa/wJvKBo/6aFpcKn5Nt4gCM =0dmr -----END PGP SIGNATURE----- -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html