anchor.diff:      Node, OwnerSessId, SessId, TestCaseRootDirPath, Fun,
       ComplementaryPermsPerFile, AllRequiredPerms, ExtraData, owner
   ) ->
  -    OperationRequiresOnlyOwnership = lists:all(fun({_, Perm}) ->
  -        Perm == owner orelse Perm == owner_if_parent_sticky
  +    RequiredPermsWithoutOwnership = lists:filter(fun({_, Perm}) ->
  +        Perm == read orelse Perm == write orelse Perm == exec
       end, AllRequiredPerms),
   
  -    case OperationRequiresOnlyOwnership of
  -        true ->
  +    case RequiredPermsWithoutOwnership of
  +        [] ->
               % If operation requires only ownership then it should succeed
               % even if all files modes are set to 0
               set_modes(Node, maps:map(fun(_, _) -> 0 end, ComplementaryPermsPerFile)),
  
positive.code:     }, Config).
  
  
  open_for_read_test(Config) ->
      [W | _] = ?config(op_worker_nodes, Config),
  
      run_tests(W, #test_spec{
          root_dir = atom_to_binary(?FUNCTION_NAME, utf8),
          files = [#file{
              name = <<"file1">>,
              perms = [?read_object]
  
negative.code:         Acc#{Guid => Mode bor maps:get(Guid, Acc, 0)}
      end, #{}, RequiredModesComb),
      set_modes(Node, RequiredModesPerFile),
  %%    ct:pal("QWE: ~p", [Fun(OwnerSessId, SessId, TestCaseRootDirPath, ExtraData)]),
      ?assertNotMatch(
          {error, _},
          Fun(OwnerSessId, SessId, TestCaseRootDirPath, ExtraData)
  