Skip to content

Commit

Permalink
755 permissions when creating directory (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
vshah23 committed Apr 12, 2023
1 parent 76661e4 commit 3738bfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pathutil/pathutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func UserHomeDir() string {
func EnsureDirExist(dir string) error {
exist, err := IsDirExists(dir)
if !exist || err != nil {
return os.MkdirAll(dir, 0777)
return os.MkdirAll(dir, 0755)
}
return nil
}
Expand Down

0 comments on commit 3738bfd

Please sign in to comment.