rsync server: "incoming chmod" usage

Wayne Davison wayned at
Thu Dec 16 23:00:43 MST 2010

On Wed, Dec 15, 2010 at 6:54 AM, <rsync at> wrote:

> but this resulted in 'Invalid "incoming chmod" directive: D755,F644'.

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the rsync mailing list