<div class="gmail_quote">On Wed, Dec 15, 2010 at 6:54 AM,  <span dir="ltr">&lt;<a href="mailto:rsync@catcons.co.uk">rsync@catcons.co.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
but this resulted in &#39;Invalid &quot;incoming chmod&quot; directive: D755,F644&#39;.<br></blockquote><div><br></div><div>I&#39;ve been meaning to make octal numbers work with --chmod, so I just checked that into git on the master (3.1.0dev).</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">incoming chmod = Du=rwx,g=rx,o=rx,Fu=rw,g=r,o=r<br></blockquote><div> </div></div><div class="gmail_quote">
<div>Most of those apply to both directories and files, and thus override each other.  I think you want this:</div><div><br></div><div>  incoming chmod = Du=rwx,Dgo=rx,Fu=rw,Fgo=r</div><div><br></div><div>Or, specified another way:</div>
<div><br></div><div>  incoming chmod = a=r,u+w,D+x</div></div><div><br></div>..wayne..<br>