diff --git a/api/layer/layer.go b/api/layer/layer.go index cc159a4..0cb2c70 100644 --- a/api/layer/layer.go +++ b/api/layer/layer.go @@ -225,6 +225,7 @@ func (n *layer) ListObjects(ctx context.Context, p *ListObjectsParams) (*ListObj oi = objectInfoFromMeta(meta) } else { // if there are sub-entities in tail - dir oi = &ObjectInfo{ + Owner: meta.SystemHeader.OwnerID, Bucket: meta.SystemHeader.CID.String(), Name: tail[:ind+1], // dir MUST have slash symbol in the end // IsDir: true,