Skip to content

Commit 3738bfd

Browse files
authored
755 permissions when creating directory (#180)
1 parent 76661e4 commit 3738bfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pathutil/pathutil.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func UserHomeDir() string {
4444
func EnsureDirExist(dir string) error {
4545
exist, err := IsDirExists(dir)
4646
if !exist || err != nil {
47-
return os.MkdirAll(dir, 0777)
47+
return os.MkdirAll(dir, 0755)
4848
}
4949
return nil
5050
}

0 commit comments

Comments
 (0)