N°1114 - config-itop.php access rights enforcement

This commit is contained in:
Eric
2019-10-21 18:14:44 +02:00
parent 53e034ce4f
commit 35bb2da6bd

View File

@@ -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');