diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index e87cc7fff0..ca3f568c51 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,10 @@ +2007-06-28 Esteban Sanchez + + * install.php: Change file permissions of config.php when it is + created. + + * general/error_perms.php: Added a blank space. + 2007-06-27 Raul Mateos * include/sytles/*.css: Updated "gif" references to the "png" refs. diff --git a/pandora_console/general/error_perms.php b/pandora_console/general/error_perms.php index 267a43dcd4..a5c0537f54 100644 --- a/pandora_console/general/error_perms.php +++ b/pandora_console/general/error_perms.php @@ -49,8 +49,8 @@ if (file_exists("include/languages/language_".$language_code.".php")) { -


For security reasons, config.php must have restrictive permissions, and "other" users cannot read or write to it. It could be writed only for owner (usually www-data or http daemon user), normal operation is not possible until you change permissions for include/config.phpfile. Please do it, it's for your security.
+


For security reasons, config.php must have restrictive permissions, and "other" users cannot read or write to it. It could be writed only for owner (usually www-data or http daemon user), normal operation is not possible until you change permissions for include/config.php file. Please do it, it's for your security.
- \ No newline at end of file + diff --git a/pandora_console/install.php b/pandora_console/install.php index 6b5ff94304..c2b5aac577 100644 --- a/pandora_console/install.php +++ b/pandora_console/install.php @@ -362,6 +362,7 @@ $BASE_URL="'.$url.'"; // Base URL $step7 = 1; fclose ($cfgin); fclose ($cfgout); + chmod ($pandora_config, 0600); check_generic ($step7, "Created new config file at '".$pandora_config."'"); } }