anchor.diff:  
   %%--------------------------------------------------------------------
   %% @doc
  -%% TODO WRITEME.
  +%% Tests permissions needed to perform operation in share mode.
  +%% If operation is not nat available in share mode then checks
  +%% that even with all perms set ?EACCES should be returned.
   %% @end
   %%--------------------------------------------------------------------
   run_share_test_scenarios(_ScenariosRootDirPath, #perms_test_spec{
  
positive.code:         ),
          ?assert_match_with_perms(
              {error, ?EACCES},
              Operation(OwnerSessId, SessId, ScenarioRootDirPath, undefined, ExtraData),
              ScenarioName,
              EaccesPermsPerFile
          )
  
negative.code:     );
  run_share_test_scenario(
      Node, OwnerSessId, SessId, TestCaseRootDirPath, ScenarioName, Operation,
      PermsPerFile, ShareId, ExtraData, {acl, AllowOrDeny}, _IsAvailableInShareMode = true
  ) ->
      {ComplementaryPermsPerFile, AllRequiredPerms} = get_complementary_perms(
          Node, PermsPerFile
      ),
      run_acl_perms_scenario(
          Node, OwnerSessId, SessId, TestCaseRootDirPath, ScenarioName, Operation,
          ComplementaryPermsPerFile, AllRequiredPerms, ShareId, ExtraData,
          ?everyone, ?no_flags_mask, AllowOrDeny
      ).
  
  
  %%%===================================================================
  