Skip to content

Commit

Permalink
Merge pull request #9 from nikukyugamer/fix/initial-created-config-di…
Browse files Browse the repository at this point in the history
…r_permission

🐛 Fix default config directory permission to 0755
  • Loading branch information
Omochice authored Mar 15, 2022
2 parents 2f009cc + 7cd58e1 commit 05af429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func LoadSettings(setting Setting, automake bool) (Setting, error) {
}

func InitializeConfigFile(ConfigPath string) error {
if err := os.MkdirAll(filepath.Dir(ConfigPath), 0644); err != nil {
if err := os.MkdirAll(filepath.Dir(ConfigPath), 0755); err != nil {
return err
}

Expand Down

0 comments on commit 05af429

Please sign in to comment.