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: 
      lists:foreach(fun({ScenarioType, SessId}) ->
          ScenarioName = ?SCENARIO_NAME("posix_", ScenarioType),
          ScenarioRootDirPath = ?SCENARIO_DIR(ScenariosRootDirPath, ScenarioName),
  
          % Create necessary file hierarchy
          {PermsPerFile, ExtraData} = create_files(
  
negative.code:             }
          ),
  
          TestCaseRootDirKey = maps:get(TestCaseRootDirPath, ExtraData0),
          {ok, ShareId} = lfm_proxy:create_share(
              Node, OwnerUserSessId, TestCaseRootDirKey, ScenarioName
          ),
          ExtraData1 = maps:map(fun
              (_, {guid, FileGuid}) ->
                  {guid, file_id:guid_to_share_guid(FileGuid, ShareId)};
  