mirror of
https://github.com/simon-ding/polaris.git
synced 2026-05-27 04:57:42 +08:00
fix: umask
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
|||||||
func main() {
|
func main() {
|
||||||
log.Infof("------------------- Starting Polaris ---------------------")
|
log.Infof("------------------- Starting Polaris ---------------------")
|
||||||
|
|
||||||
syscall.Umask(0000) //max permission 0777
|
syscall.Umask(0) //max permission 0777
|
||||||
|
|
||||||
dbClient, err := db.Open()
|
dbClient, err := db.Open()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user