]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/main.c
pppd: Make _PATH_CONNERRS world readable (#194)
[ppp.git] / pppd / main.c
index aaaa5c8f8f7bcb8ba91733c2eb35ed7c97a66230..87a5d29217bb48103440c3af6e467f75854e49dd 100644 (file)
@@ -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);