linux-ppp.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 13/14] make _PATH_CONNERRS world readable
@ 2007-08-19  1:37 Marco d'Itri
  0 siblings, 0 replies; only message in thread
From: Marco d'Itri @ 2007-08-19  1:37 UTC (permalink / raw)
  To: linux-ppp

There is nothing security-sensitive there.

--- a/pppd/main.c
+++ b/pppd/main.c
@@ -1620,7 +1620,7 @@ device_script(program, in, out, dont_wai
     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);

-- 
ciao,
Marco


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-08-19  1:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-19  1:37 [patch 13/14] make _PATH_CONNERRS world readable Marco d'Itri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).