Fix permissions for folders

This commit is contained in:
Stash Dev
2019-07-08 19:27:10 -07:00
parent b58a765acc
commit 2cfaeb7591
2 changed files with 2 additions and 2 deletions

View File

@@ -119,7 +119,7 @@ func Start() {
return
}
_ = os.Mkdir(downloads, 0644)
_ = os.Mkdir(downloads, 0755)
config.Set(config.Stash, stash)
config.Set(config.Generated, generated)

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, 0644)
err = os.Mkdir(path, 0755)
return err
}
return err