diff --git a/api/layer/layer.go b/api/layer/layer.go index cc159a42..0cb2c702 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,