Fix unwritable directory issue due to misordered chmod call.
[rsync/rsync.git] / generator.c
index e3890bb..cd7abda 100644 (file)
@@ -1353,6 +1353,7 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
                                goto cleanup;
                        }
                }
+
 #ifdef SUPPORT_XATTRS
                if (preserve_xattrs && statret == 1)
                        copy_xattrs(fnamecmpbuf, fname);