readable_connerrs

make _PATH_CONNERRS world readable

There is nothing security-sensitive there.


Gbp-Pq: Name readable_connerrs
This commit is contained in:
Ubuntu Developers 2022-05-14 02:43:52 +08:00 committed by openKylinBot
parent 1baf15780a
commit dcd19911b1
1 changed files with 1 additions and 1 deletions

View File

@ -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);