User more appropriate permissions (755 -> 644)

This commit is contained in:
Stash Dev
2019-07-08 17:36:18 -07:00
parent f8e3692ee9
commit 82fcb72c51
4 changed files with 20 additions and 4 deletions

View File

@@ -60,7 +60,7 @@ func Touch(path string) error {
func EnsureDir(path string) error {
exists, err := FileExists(path)
if !exists {
err = os.Mkdir(path, 0755)
err = os.Mkdir(path, 0644)
return err
}
return err