rsync server: "incoming chmod" usage

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


On Wed, Dec 15, 2010 at 6:54 AM, <rsync at catcons.co.uk> 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

..wayne..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20101216/f194727f/attachment.html>


More information about the rsync mailing list