mirror of https://gitee.com/openkylin/ppp.git
readable_connerrs
make _PATH_CONNERRS world readable There is nothing security-sensitive there. Gbp-Pq: Name readable_connerrs
This commit is contained in:
parent
1baf15780a
commit
dcd19911b1
|
@ -1673,7 +1673,7 @@ device_script(program, in, out, dont_wait)
|
|||
if (log_to_fd >= 0)
|
||||
errfd = log_to_fd;
|
||||
else
|
||||
errfd = open(_PATH_CONNERRS, O_WRONLY | O_APPEND | O_CREAT, 0600);
|
||||
errfd = open(_PATH_CONNERRS, O_WRONLY | O_APPEND | O_CREAT, 0644);
|
||||
|
||||
++conn_running;
|
||||
pid = safe_fork(in, out, errfd);
|
||||
|
|
Loading…
Reference in New Issue