Hello, I'm having permissions problems. I'm following the warnings from Druapl, making the fixes - but the warnings and fixes just seem to go in a loop. I had a new install of D6 and was installing a few modules. After hitting "save" it brought me to the Drupal D6 install page (which was confusing). I clicked on "install" and I received the warning message about making the file "./sites/default/settings.php" from "./sites/default/default.settings.php". This was more confusing as I'd already created that file.
I messed about with it for a while, and things seem to change based on the directory permissions. Anyhow, it was a new enough install that I figured I'd just delete the DB, create a new DB and reinstall D6, but I seem to still be getting similar permissions problems.
If I have the permissions set to "777" for the following directories and files
./sites/default/
.sites/default/files/settings.php
then I can proceed with the setup, but get this warning:
"All necessary changes to ./sites/default and ./sites/default/settings.php have been made, so you should remove write permissions to them now in order to avoid security risks."
If I follow those directions and set the file and directory to "444" and refresh, I get this warning:
"- The Drupal installer requires that you create a settings file as part of the installation process.
1. Copy the ./sites/default/default.settings.php file to ./sites/default/settings.php. 2. Change file permissions so that it is writable by the web server.
- The directory sites/default/files does not exist. An automated attempt to create this directory failed, possibly due to a permissions problem. To proceed with the installation, either create the directory and modify its permissions manually, or ensure that the installer has the permissions to create it automatically."
At this point, I find that have to set the permissions of the "default" directory and "settings.php" to "777" make the above warning go away. (no other RWE combo seems to work.. only "777")
Anyhow, after changing the permissions to "777" , I get the previous warning again: "All necessary changes to ./sites/default and ./sites/default/settings.php have been made, so you should remove write permissions to them now in order to avoid security risks."
It just seems to be going in an endless loop. I've installed D6 several times, but never had this happen. Any idea what is going on?
-----
brendan, fresh-off.com
Creative Direction & Consultation: Web | Print | Brand
http://fresh-off.com http://fresh-off.com
mailto:hello@fresh-off.com hello@fresh-off.com
206.328.1067
seattle.usa
Brendan,
This is the kind of thing that I tend not to try to figure out since starting over seems the path of least resistance. Do you have anything to lose by starting over completely?
If the installer script already ran, don't forget to drop all the tables in the db before you start. I'm presuming you didn't get as far as creating content given the errors you are getting.
Good luck,
Shai
On Tue, Dec 15, 2009 at 8:58 PM, brendan, fresh-off.com <hello@fresh-off.com
wrote:
*Hello,* I’m having permissions problems. I’m following the warnings from Druapl, making the fixes – but the warnings and fixes just seem to go in a loop. I had a new install of D6 and was installing a few modules. After hitting “save” it brought me to the Drupal D6 install page (which was confusing). I clicked on “install” and I received the warning message about making the file “*./sites/default/settings.php” **from**“./sites/default/default.settings.php”. **This was more confusing as I’d already created that file.*
*I messed about with it for a while, and things seem to change based on the directory permissions. Anyhow, it was a new enough install that I figured I’d just delete the DB, create a new DB and reinstall D6, but I seem to still be getting similar permissions problems.
If I have the permissions set to “777” for the following directories and files
./sites/default/
.sites/default/files/settings.php
then I can proceed with the setup, but get this warning:
“All necessary changes to *./sites/default* and * ./sites/default/settings.php* have been made, so you should remove write permissions to them now in order to avoid security risks.”
If I follow those directions and set the file and directory to “444” and refresh, I get this warning:
“- The Drupal installer requires that you create a settings file as part of the installation process.
- Copy the *./sites/default/default.settings.php* file to *
./sites/default/settings.php*. 2. Change file permissions so that it is writable by the web server.
- The directory *sites/default/files* does not exist. An automated
attempt to create this directory failed, possibly due to a permissions problem. To proceed with the installation, either create the directory and modify its permissions manually, or ensure that the installer has the permissions to create it automatically.”
At this point, I find that have to set the permissions of the “default” directory and “settings.php” to “777” make the above warning go away. (no other RWE combo seems to work.. only “777”)
Anyhow, after changing the permissions to “777” , I get the previous warning again: “All necessary changes to *./sites/default* and * ./sites/default/settings.php* have been made, so you should remove write permissions to them now in order to avoid security risks.”
It just seems to be going in an endless loop. I’ve installed D6 several times, but never had this happen. Any idea what is going on?
*brendan, fresh-off.com*
Creative Direction & Consultation: Web | Print | Brand
hello@fresh-off.com
206.328.1067
seattle.usa
-- [ Drupal support list | http://lists.drupal.org/ ]