Skip to content

Commit

Permalink
fix: set trivy.db file to be world-readable (follow-up) (#472)
Browse files Browse the repository at this point in the history
  • Loading branch information
lyoung-confluent authored Nov 19, 2024
1 parent a2f5790 commit 6242a39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/db/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func Init(dbDir string, opts ...Option) (err error) {
if err = os.Remove(dbPath); err != nil {
return
}
db, err = bolt.Open(dbPath, 0600, dbOptions.boltOptions)
db, err = bolt.Open(dbPath, 0644, dbOptions.boltOptions)
}
debug.SetPanicOnFault(false)
}()
Expand Down

0 comments on commit 6242a39

Please sign in to comment.