From: Wayne Davison Date: Thu, 4 May 2006 05:48:09 +0000 (+0000) Subject: Fixed a problem with the ACLS_NEED_MASK code in unpack_smb_acl(). X-Git-Url: https://mattmccutchen.net/rsync/rsync-patches.git/commitdiff_plain/aea6b054ab664b2403f07589263457a4ff868647 Fixed a problem with the ACLS_NEED_MASK code in unpack_smb_acl(). --- diff --git a/acls.diff b/acls.diff index 1d33830..5137260 100644 --- a/acls.diff +++ b/acls.diff @@ -377,7 +377,7 @@ latest ACL-enabling patch to send files to an older ACL-enabled rsync. + sort_ida_entries(&racl->groups); + +#ifdef ACLS_NEED_MASK -+ if (!racl->users.count && !racl->groups.count) { ++ if (!racl->users.count && !racl->groups.count && racl->mask != NO_ENTRY) { + /* Throw away a superfluous mask, but mask off the + * group perms with it first. */ + racl->group_obj &= racl->mask;