[support] FW: fresh D6 intall; endless permissions loop

brendan, fresh-off.com hello at fresh-off.com
Wed Dec 16 18:38:13 UTC 2009


Thanks Rick and Shai! 

Seems the exact permission I needed was " 755" on the "Defaults" directory. 

 

 

 

-----Original Message-----
From: lists-drupal [mailto:replies-lists-drupal at listmail.innovate.net] 
Sent: Tuesday, December 15, 2009 6:13 PM
To: brendan, fresh-off.com
Subject: Re: [support] fresh D6 intall; endless permissions loop

 

For a directory to be readable it has to have read *and* execute

permissions. With 444 you're setting things to only read. That's

correct for reading a file, but not a directory.

 

      - Rick

 

 

------------ Original Message ------------

> Date: Tuesday, December 15, 2009 05:58:57 PM -0800

> From: "brendan, fresh-off.com" <hello at fresh-off.com>

> To: support at drupal.org

> Subject: [support] fresh D6 intall; endless permissions loop

> 

> 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?

> > 

 

------------ End Original Message ------------

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20091216/3d84c49c/attachment.html 


More information about the support mailing list