Skip to content

Commit

Permalink
πŸ› Fix default config directory permission to 0755
Browse files Browse the repository at this point in the history
To avoid "permission denied"
  • Loading branch information
nikukyugamer committed Mar 12, 2022
1 parent 2f009cc commit 7cd58e1
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 7cd58e1

Please sign in to comment.