提交 63de18c0 编写于 作者: D Davies Liu

no executable bit for log file

上级 029d9cd6
......@@ -73,7 +73,7 @@ func makeDaemon(c *cli.Context, name, mp string) error {
}
var err error
logfile := c.String("logfile")
attrs.Stdout, err = os.OpenFile(logfile, os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0755)
attrs.Stdout, err = os.OpenFile(logfile, os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0644)
if err != nil {
logger.Errorf("open log file %s: %s", logfile, err)
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册