Skip to content

Commit be06776

Browse files
authored
Fix go manifest permissions (#645)
1 parent 76499b9 commit be06776

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build/common.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,8 @@ func (Build) GenerateManifestFile() error {
191191
if err != nil {
192192
return err
193193
}
194-
err = os.WriteFile(manifestFilePath, []byte(manifestContent), 0600)
194+
// #nosec G306 - we need reading permissions for this file
195+
err = os.WriteFile(manifestFilePath, []byte(manifestContent), 0755)
195196
if err != nil {
196197
return err
197198
}

0 commit comments

Comments
 (0)