Skip to contentSkip to conversation

make _PATH_CONNERRS world readable

PATCH In review Marco d'Itri 1 participant 1 message Aug 19, 2007 PPP protocol drivers and compressors

lore
Share & tools
lore
#0 lore raw

PATCH 13/14 make _PATH_CONNERRS world readable

There is nothing security-sensitive there.

pppd/main.c +1 -1
@@ -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);
Signature · 2 lines
ciao,
Marco