From aea6b054ab664b2403f07589263457a4ff868647 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Thu, 4 May 2006 05:48:09 +0000 Subject: [PATCH] Fixed a problem with the ACLS_NEED_MASK code in unpack_smb_acl(). --- acls.diff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.34.1