mirror of
https://github.com/stashapp/stash.git
synced 2026-01-14 20:22:49 +01:00
Fix permissions for folders
This commit is contained in:
parent
b58a765acc
commit
2cfaeb7591
2 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue