From 7a20393b5e2dbbe6c04b9a28879f0d59b8ceb627 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Wed, 1 Oct 2003 15:01:29 +0000 Subject: [PATCH] chmod config files to 0600 --- lam/lib/config.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/lam/lib/config.inc b/lam/lib/config.inc index 64ceadcb..23f083c9 100644 --- a/lam/lib/config.inc +++ b/lam/lib/config.inc @@ -240,6 +240,7 @@ class Config { if ($file) { for ($i = 0; $i < sizeof($file_array); $i++) fputs($file, $file_array[$i]); fclose($file); + @chmod ($conffile, 0600); } else { StatusMessage("ERROR", "", _("Cannot open config file!") . " (" . $conffile . ")");