rsync server: "incoming chmod" usage

rsync at rsync at
Fri Dec 17 08:36:46 MST 2010

> -----Original Message-----
> From: 4wayned at [mailto:4wayned at] On Behalf 
> Of Wayne Davison
> Sent: 17 December 2010 11:31
> To: rsync at
> Cc: rsync at
> Subject: Re: rsync server: "incoming chmod" usage
> On Wed, Dec 15, 2010 at 6:54 AM, <rsync at> 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  :-)

Will enjoy being able to use octal modes in 3.1.x.

Wrongly I understood that each chmod mode after a D applies to directories
and F to files. Thank you for taking the time to show the right and minimal

I tried to think of text to suggest for the rsync man page but the best I
came up with is changing "item" to "MODE" for closer alignment with the
chmod(1) man page and changing the example from Dg+s,ug+w,Fo-w to



More information about the rsync mailing list