diff --git a/pkg/local_object_storage/metabase/put.go b/pkg/local_object_storage/metabase/put.go index 8a287e2fc..f958f1782 100644 --- a/pkg/local_object_storage/metabase/put.go +++ b/pkg/local_object_storage/metabase/put.go @@ -99,7 +99,7 @@ func objectIndices(obj *object.Object, parent bool) []bucketItem { res := make([]bucketItem, 0, 5+len(as)) rootVal := v2object.BooleanPropertyValueTrue - if obj.HasParent() { + if obj.GetType() != objectSDK.TypeRegular || obj.HasParent() { rootVal = "" }