chmod config files to 0600
This commit is contained in:
parent
89dfd1410a
commit
7a20393b5e
|
@ -240,6 +240,7 @@ class Config {
|
||||||
if ($file) {
|
if ($file) {
|
||||||
for ($i = 0; $i < sizeof($file_array); $i++) fputs($file, $file_array[$i]);
|
for ($i = 0; $i < sizeof($file_array); $i++) fputs($file, $file_array[$i]);
|
||||||
fclose($file);
|
fclose($file);
|
||||||
|
@chmod ($conffile, 0600);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
StatusMessage("ERROR", "", _("Cannot open config file!") . " (" . $conffile . ")");
|
StatusMessage("ERROR", "", _("Cannot open config file!") . " (" . $conffile . ")");
|
||||||
|
|
Loading…
Reference in New Issue