fix(Core): Permissions are now 775
This commit is contained in:
parent
fe1b047bce
commit
d74f29e97e
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
|
@ -43,7 +43,7 @@ func checkTmpPath(config Tools.Config, createLocalBackup bool) string{
|
||||||
logger := Logging.DetailedLogger("mainThread", "checkTmpPath")
|
logger := Logging.DetailedLogger("mainThread", "checkTmpPath")
|
||||||
if !createLocalBackup{
|
if !createLocalBackup{
|
||||||
if _, err := os.Stat("tmp"); os.IsNotExist(err) {
|
if _, err := os.Stat("tmp"); os.IsNotExist(err) {
|
||||||
dirErr := os.Mkdir("tmp", 600)
|
dirErr := os.Mkdir("tmp", 0775)
|
||||||
if dirErr != nil {
|
if dirErr != nil {
|
||||||
logger.Fatal(err)
|
logger.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Reference in a new issue