From: Rob Church
Date: Fri, 8 Jun 2007 18:38:36 +0000 (+0000)
Subject: (bug 8781) Remind users to check file permissions for LocalSettings.php post-installation
X-Git-Tag: 1.31.0-rc.0~52611
X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=6caa45448d6b0b1938e1177fed85d67bfd690e15;p=lhc%2Fweb%2Fwiklou.git
(bug 8781) Remind users to check file permissions for LocalSettings.php post-installation
---
diff --git a/RELEASE-NOTES b/RELEASE-NOTES
index 4cca7f4cca..4c0438885f 100644
--- a/RELEASE-NOTES
+++ b/RELEASE-NOTES
@@ -72,6 +72,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
* (bug 10181) Support the XCache object caching mechanism
* (bug 9058) Introduce '--aconf' option for all maintenance scripts, to provide
a path to the AdminSettings.php file
+* (bug 8781) Remind users to check file permissions for LocalSettings.php
+ post-installation
== Bugfixes since 1.10 ==
diff --git a/config/index.php b/config/index.php
index 20c1581e09..2de9384d35 100644
--- a/config/index.php
+++ b/config/index.php
@@ -1374,8 +1374,14 @@ which means that anyone on the same server can read your database password! Down
it and uploading it again will hopefully change the ownership to a user ID specific to you.
EOT;
} else {
- echo "Installation successful! Move the config/LocalSettings.php file into the parent directory, then follow
- this link to your wiki.
\n";
+ echo <<
+Installation successful!
+Move the config/LocalSettings.php file to the parent directory, then follow
+ this link to your wiki.
+You should change file permissions for LocalSettings.php as required to
+prevent other users on the server reading passwords and altering configuration data.
+EOT;
}
}