mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
Fix permissions for folders
This commit is contained in:
@@ -119,7 +119,7 @@ func Start() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
_ = os.Mkdir(downloads, 0644)
|
_ = os.Mkdir(downloads, 0755)
|
||||||
|
|
||||||
config.Set(config.Stash, stash)
|
config.Set(config.Stash, stash)
|
||||||
config.Set(config.Generated, generated)
|
config.Set(config.Generated, generated)
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ func Touch(path string) error {
|
|||||||
func EnsureDir(path string) error {
|
func EnsureDir(path string) error {
|
||||||
exists, err := FileExists(path)
|
exists, err := FileExists(path)
|
||||||
if !exists {
|
if !exists {
|
||||||
err = os.Mkdir(path, 0644)
|
err = os.Mkdir(path, 0755)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
return err
|
return err
|
||||||
|
|||||||
Reference in New Issue
Block a user