Hello
I am working with a very new installation of Mediawiki. It was installed by following the instructions on: http://meta.wikimedia.org/wiki/Help:Running_MediaWiki_on_Debian_GNU/Linux with the following versions:
- Debian “etch” - Apache 2.2.3 - MySQL 5.0.30 - php 5.2.0 - Mediawiki 1.9.1
One of the first admin tasks I was required to do was reset a user password. I followed: http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_reset_a_password.3F
I ended up using the SQL query method rather than the maintenance script.
Running changePassword.php in the Maintenance directory displays the error:
"A copy of your installation's LocalSettings.php must exist in the source directory."
Running changePassword.php in the source directory displays the error:
"Could not open input file: maintenance/changePassword.php"
Thinking that it may be a permissions or ownership issue, I checked the files and directories in the source directory (/var/www/wiki). They are all owned by user and group '501', except for LocalSettings.php, which is 'www-data'.
I changed all (except LocalSettings.php) file and directory ownership to root. I was then able to run the script successfully.
Please can you let me know, or point me to documentation about the appropriate ownership and permissions of the files and directories in the source directory. Note: The source directory is also owned by user and group '501'.
I have searched this archive, mediawiki.org, and www but have not been able to find a definitive answer.
Regards Jacqueline
mediawiki-l@lists.wikimedia.org