Skip to content

Commit

Permalink
Use more strict directory permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
sagikazarmark authored and orymate committed Apr 23, 2019
1 parent f10f761 commit 5c201f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func (c *banzaiContext) save() {
log.Debug("creating config dir")

configPath := filepath.Dir(viper.ConfigFileUsed())
err := os.MkdirAll(configPath, os.ModePerm)
err := os.MkdirAll(configPath, 0700)
if err != nil {
log.Fatal(emperror.Wrap(err, "failed to create config dir"))
}
Expand Down

0 comments on commit 5c201f9

Please sign in to comment.