fix(Permissions): Updated folder permissions to 0600
This commit is contained in:
parent
f30e9af1f4
commit
33185598ac
2 changed files with 2 additions and 2 deletions
|
|
@ -83,7 +83,7 @@ func checkTmpPath(createLocalBackup bool, targetPath string) string {
|
|||
logger := Logging.DetailedLogger("mainThread", "checkTmpPath")
|
||||
if !createLocalBackup {
|
||||
if _, err := os.Stat("tmp"); os.IsNotExist(err) {
|
||||
dirErr := os.Mkdir("tmp", 0775)
|
||||
dirErr := os.Mkdir("tmp", 0600)
|
||||
if dirErr != nil {
|
||||
logger.Fatal(err)
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue