? files
? fix_sites.patch
? install_form.patch
? install_form_18.patch
? install_form_7_0.patch
? no_settings_php.patch
? no_settings_php_0.patch
? tplify_theme.inc.patch
? sites/logrus.com.x
? sites/all/modules
? sites/default/settings.php
Index: install.php
===================================================================
RCS file: /cvs/drupal/drupal/install.php,v
retrieving revision 1.43
diff -u -p -r1.43 install.php
--- install.php	8 May 2007 16:36:55 -0000	1.43
+++ install.php	8 May 2007 22:41:28 -0000
@@ -87,12 +87,13 @@ function install_main() {
   drupal_install_profile($profile, $modules);
 
   // Warn about settings.php permissions risk
-  $settings_file = './'. conf_path() .'/settings.php';
-  if (!drupal_verify_install_file($settings_file, FILE_EXIST|FILE_READABLE|FILE_NOT_WRITABLE)) {
-    drupal_set_message(st('All necessary changes to %file have been made, so you should now remove write permissions to this file. Failure to remove write permissions to this file is a security risk.', array('%file' => $settings_file)), 'error');
+  $settings_dir = './'. conf_path();
+  $settings_file = $settings_dir .'/settings.php';
+  if (!drupal_verify_install_file($settings_file, FILE_EXIST|FILE_READABLE|FILE_NOT_WRITABLE) || !drupal_verify_install_file($settings_dir, FILE_NOT_WRITABLE, 'dir')) {
+    drupal_set_message(st('All necessary changes to %dir and %file have been made, so you should now remove write permissions to these files. Failure to remove write permissions to these files is a security risk.', array('%dir' => $settings_dir, '%file' => $settings_file)), 'error');
   }
   else {
-    drupal_set_message(st('All necessary changes to %file have been made. It has been set to read-only for security.', array('%file' => $settings_file)));
+    drupal_set_message(st('All necessary changes to %dir and %file have been made. They have been set to read-only for security.', array('%dir' => $settings_dir, '%file' => $settings_file)));
   }
 
   // Show end page.
