From dd6e17e16ffecb25d5e2a08a852244d67af56ef1 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Thu, 31 Dec 2020 05:49:09 +0100 Subject: [PATCH] pppd: Make _PATH_CONNERRS world readable (#194) From https://bugs.debian.org/341853 There is nothing security-sensitive there. Signed-off-by: Samuel Thibault Co-authored-by: Marco d'Itri --- pppd/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pppd/main.c b/pppd/main.c index aaaa5c8..87a5d29 100644 --- a/pppd/main.c +++ b/pppd/main.c @@ -1642,7 +1642,7 @@ device_script(char *program, int in, int out, int 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); -- 2.39.2