fix(Compression): Permission is now 775
This commit is contained in:
parent
d74f29e97e
commit
65fa075543
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ func CreateBakFile(fileName string, folderPath string, destinationPath string, b
|
||||||
pathToFile := destinationPath + string(os.PathSeparator) + fileName + ".bak"
|
pathToFile := destinationPath + string(os.PathSeparator) + fileName + ".bak"
|
||||||
|
|
||||||
|
|
||||||
fileToWrite, err := os.OpenFile(pathToFile, os.O_CREATE|os.O_RDWR, os.FileMode(600))
|
fileToWrite, err := os.OpenFile(pathToFile, os.O_CREATE|os.O_RDWR, os.FileMode(0775))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logger.Fatal(err)
|
logger.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Reference in a new issue