anchor.diff:      Node, OwnerSessId, SessId, TestCaseRootDirPath, ScenarioName,
       Operation, PosixPermsPerFile, ExtraData, Type
   ) ->
  -    {ComplementaryPosixPermsPerFile, RequiredPosixPerms} = maps:fold(
  -        fun(FileGuid, FileRequiredPerms, {BasePermsPerFileAcc, RequiredPermsAcc}) ->
  -            {
  -                BasePermsPerFileAcc#{FileGuid => ?ALL_POSIX_PERMS -- FileRequiredPerms},
  -                [{FileGuid, Perm} || Perm <- FileRequiredPerms] ++ RequiredPermsAcc
  -            }
  -        end,
  -        {#{}, []},
  +    {ComplementaryPosixPermsPerFile, RequiredPosixPerms} = get_complementary_posix_perms(
           PosixPermsPerFile
       ),
   
  
positive.code:     OtherUserSessId = ?config({session_id, {OtherUser, ?GET_DOMAIN(Node)}}, Config),
  
      lists:foreach(fun({SessId, PermsType, ScenarioName}) ->
          ScenarioRootDirPath = ?SCENARIO_DIR(ScenariosRootDirPath, ScenarioName),
  
          % Create necessary file hierarchy
          {PermsPerFile, ExtraData0} = create_files(
  
negative.code:             Node, PermsPerFile
          ),
          run_acl_perms_scenario(
              Node, OwnerUserSessId, SessId, TestCaseRootDirPath, ScenarioName,
              Operation, ComplementaryPermsPerFile, AllRequiredPerms,
              ExtraData, AceWho, AceFlags, ScenarioType
          )
      end, [
          {OwnerUserSessId, allow, <<"acl_owner_allow">>, ?owner, ?no_flags_mask},
          {SpaceUserSessId, allow, <<"acl_user_allow">>, SpaceUser, ?no_flags_mask},
          {SpaceUserSessId, allow, <<"acl_user_group_allow">>, SpaceUserGroup, ?identifier_group_mask},
          {SpaceUserSessId, allow, <<"acl_everyone_allow">>, ?everyone, ?no_flags_mask},
  
          {OwnerUserSessId, deny, <<"acl_owner_deny">>, ?owner, ?no_flags_mask},
          {SpaceUserSessId, deny, <<"acl_user_deny">>, SpaceUser, ?no_flags_mask},
          {SpaceUserSessId, deny, <<"acl_user_group_deny">>, SpaceUserGroup, ?identifier_group_mask},
          {SpaceUserSessId, deny, <<"acl_everyone_deny">>, ?everyone, ?no_flags_mask}
      ]).
  
  
  run_acl_perms_scenario(
      Node, OwnerSessId, SessId, TestCaseRootDirPath, ScenarioName, Operation,
      ComplementaryPermsPerFile, AllRequiredPerms, ExtraData, AceWho, AceFlags, allow
  ) ->
      [AllRequiredPermsComb | EaccesPermsCombs] = combinations(AllRequiredPerms),
  