From 470b4eebd8f36a5ab1b18f71e7579b8ebdb0adfb Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Wed, 3 May 2023 10:45:11 +0200 Subject: [PATCH] Properly set spec permissions Signed-off-by: Evan Lezar --- pkg/nvcdi/spec/builder.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/nvcdi/spec/builder.go b/pkg/nvcdi/spec/builder.go index 32b27f8d..a0158132 100644 --- a/pkg/nvcdi/spec/builder.go +++ b/pkg/nvcdi/spec/builder.go @@ -96,8 +96,9 @@ func (o *builder) Build() (*spec, error) { } s := spec{ - Spec: raw, - format: o.format, + Spec: raw, + format: o.format, + permissions: o.permissions, } return &s, nil