X-Git-Url: https://mattmccutchen.net/rsync/rsync-patches.git/blobdiff_plain/e70a47f80bb933a1deb610e2524f5c810c49b3f5..8871c12ac6de6b52f034946d009f0f9f5f5b808d:/acls.diff diff --git a/acls.diff b/acls.diff index bdf529c..071b63e 100644 --- a/acls.diff +++ b/acls.diff @@ -292,7 +292,7 @@ To use this patch, run these commands for a successful build: + if (type == SMB_ACL_TYPE_ACCESS) + F_ACL(file) = ndx; + else -+ F_DEF_ACL(file) = ndx; ++ F_DIR_DEFACL(file) = ndx; + racl_list = &default_acl_list; + } while (BUMP_TYPE(type) && S_ISDIR(file->mode)); +} @@ -314,10 +314,10 @@ To use this patch, run these commands for a successful build: if (S_ISDIR(file->mode)) --- old/compat.c +++ new/compat.c -@@ -147,13 +147,6 @@ void setup_protocol(int f_out,int f_in) - protocol_version); - exit_cleanup(RERR_PROTOCOL); - } +@@ -163,13 +163,6 @@ void setup_protocol(int f_out,int f_in) + if (protocol_version < 30) { + if (append_mode == 1) + append_mode = 2; - if (preserve_acls && !local_server) { - rprintf(FERROR, - "--acls requires protocol 30 or higher"