Skip to content

Commit

Permalink
Merge pull request #716 from wolfi-dev/fix-perm
Browse files Browse the repository at this point in the history
fix permission for files
  • Loading branch information
rawlingsj committed Mar 27, 2024
2 parents fd17ca0 + cd75e4e commit bb72a9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/advisory/export.go
Expand Up @@ -217,7 +217,7 @@ func ExportOSV(opts ExportOptions, output string) error {
}

filepath := path.Join(output, fmt.Sprintf("%s-%s.json", strings.ToUpper(string(opts.Ecosystem)), k))
err = os.WriteFile(filepath, e, 0o600)
err = os.WriteFile(filepath, e, 0o644) //nolint: gosec
if err != nil {
log.Fatal(err)
}
Expand Down

0 comments on commit bb72a9d

Please sign in to comment.