> -----Original Message----- > From: 4way...@gmail.com [mailto:4way...@gmail.com] On Behalf > Of Wayne Davison > Sent: 17 December 2010 11:31 > To: rs...@catcons.co.uk > Cc: rsync@lists.samba.org > Subject: Re: rsync server: "incoming chmod" usage > > On Wed, Dec 15, 2010 at 6:54 AM, <rs...@catcons.co.uk> wrote:
> I've been meaning to make octal numbers work with --chmod, so > I just checked that into git on the master (3.1.0dev). > > incoming chmod = Du=rwx,g=rx,o=rx,Fu=rw,g=r,o=r > > Most of those apply to both directories and files, and thus > override each other. I think you want this: > > incoming chmod = Du=rwx,Dgo=rx,Fu=rw,Fgo=r > > Or, specified another way: > > incoming chmod = a=r,u+w,D+x > > ..wayne.. Thanks Wayne :-) Further to my earlier reply/thanks ... That worked as expected on Slackware64 13.1 (rsync version 3.0.7) but is not working on CentOS 5.5 (rsync version 2.6.8). When running as the default "nobody", rsync server created directories without the x permission. Configuring rsync to run as root worked around the problem for rsync server but did not set "other x". Now that is needed. Is there anything to try apart from building and installing current version of rsync? Best Charles -- 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