anchor.diff:          }
       end;
   translate_resource(#gri{id = Guid, aspect = instance, scope = private}, #file_attr{
  -    name = Name,
  +    name = FileName,
       owner_id = Owner,
       type = TypeAttr,
       mode = Mode,
  
positive.code:         _ ->
              {<<"file">>, SizeAttr}
      end,
      {_, _, ShareId} = file_id:unpack_share_guid(Guid),
  
      fun(#auth{session_id = SessId}) ->
          IsRootDir = case ShareId of
              undefined ->
                  fslogic_uuid:is_space_dir_guid(Guid);
  
negative.code:         end,
  
          #{
              <<"name">> => DisplayedName,
              <<"owner">> => gri:serialize(#gri{
                  type = op_user,
                  id = Owner,
                  aspect = instance,
                  scope = shared
              }),
              <<"index">> => FileName,
              <<"type">> => Type,
              <<"posixPermissions">> => integer_to_binary((Mode rem 8#1000), 8),
              <<"activePermissionsType">> => ActivePermsType,
  