incoming chmod on daemon fails on subdirectories
wayned at samba.org
Sat Sep 23 23:49:41 GMT 2006
On Fri, Sep 22, 2006 at 10:32:44PM -0400, Matt McCutchen wrote:
> The trouble is that tweak_mode (the function that applies chmod
> strings) determines the type of the file it is processing based on the
> type bits of the original mode it is passed, but dest_mode calls it
> with a mode in which the type bits are zero when calculating
> destination permissions for a file that doesn't exist yet.
Good catch. I committed your fix and the improved test.
More information about the rsync