Skip to content

Commit

Permalink
Change permissions back and ignore warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Taztingo committed May 17, 2024
1 parent d1793b2 commit 2498991
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/provenanced/config/toml.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ func WriteConfigToFile(configFilePath string, config *ClientConfig) {
panic(err)
}

if err := os.WriteFile(configFilePath, buffer.Bytes(), 0o600); err != nil {
//nolint:gosec
if err := os.WriteFile(configFilePath, buffer.Bytes(), 0o644); err != nil {
panic(err)
}
}

0 comments on commit 2498991

Please sign in to comment.