From 58c3631fa2b9344d7d38be40814392456698cae9 Mon Sep 17 00:00:00 2001 From: Sean Liao Date: Sat, 11 Jun 2022 01:16:27 +0100 Subject: [PATCH] allow refs-file to be read by other users --- pkg/commands/resolver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/commands/resolver.go b/pkg/commands/resolver.go index 91c09fba99..98aa463f2e 100644 --- a/pkg/commands/resolver.go +++ b/pkg/commands/resolver.go @@ -237,7 +237,7 @@ func makePublisher(po *options.PublishOptions) (publish.Interface, error) { } if po.ImageRefsFile != "" { - f, err := os.OpenFile(po.ImageRefsFile, os.O_RDWR|os.O_CREATE, 0600) + f, err := os.OpenFile(po.ImageRefsFile, os.O_RDWR|os.O_CREATE, 0644) if err != nil { return nil, err }