anchor.diff:          <<"hasMetadata">> => HasMetadata,
           <<"guid">> => FileGuid,
           <<"name">> => FileName,
  -        <<"index">> => StartId,
  +        <<"index">> => Index,
           <<"posixPermissions">> => PosixPerms,
           <<"parentId">> => ParentId,
           <<"mtime">> => MTime,
           <<"type">> => Type,
           <<"size">> => Size,
  -        <<"shares">> => Shares
  +        <<"shares">> => Shares,
  +        <<"activePermissionsType">> => ActivePermissionsType
       },
       case Scope of
           public ->
  
positive.code:         _ ->
              {<<"file">>, SizeAttr}
      end,
      IsRootDir = case file_id:guid_to_share_id(FileGuid) of
          undefined ->
              fslogic_uuid:is_space_dir_guid(FileGuid);
          ShareId ->
              lists:member(ShareId, Shares)
      end,
      ParentId = case IsRootDir of
          true -> null;
  
negative.code:                 <<"providerId">> => ProviderId,
                  <<"ownerId">> => OwnerId,
                  <<"hasDirectQos">> => HasDirectQos,
                  <<"hasEffQos">> => HasEffQos
              }
      end.
  