From 35bb2da6bddd5393291bca866cdd7705c18bcd91 Mon Sep 17 00:00:00 2001 From: Eric Date: Mon, 21 Oct 2019 18:14:44 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B01114=20-=20config-itop.php=20access=20ri?= =?UTF-8?q?ghts=20enforcement?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setup/applicationinstaller.class.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/applicationinstaller.class.inc.php b/setup/applicationinstaller.class.inc.php index d34b07ce6..5535e1395 100644 --- a/setup/applicationinstaller.class.inc.php +++ b/setup/applicationinstaller.class.inc.php @@ -992,7 +992,7 @@ class ApplicationInstaller $oConfig->WriteToFile($sConfigFile); // try to make the final config file read-only - @chmod($sConfigFile, 0444); // Read-only for owner and group, nothing for others + @chmod($sConfigFile, 0440); // Read-only for owner and group, nothing for others // Ready to go !! require_once(APPROOT.'core/dict.class.inc.php'); @@ -1016,4 +1016,4 @@ class SetupDBBackup extends DBBackup { SetupPage::log('Error - '.$sMsg); } -} \ No newline at end of file +}