What do I grant write CHMOD to during instillation? This bit is a bit confusing in the D6 manual, can somebody clear it up please.

(read thoroughly please, I've BOLD/UNDERLINED the significant lines )

Give the web server write privileges to the sites/default/settings.php
file with the command (from the installation directory):

chmod o+w sites/default/settings.php

So that the files directory can be created automatically, give the web server
write privileges to the sites/default directory
with the command (from the
installation directory):

chmod o+w sites/default

How many things is it asking me to write CHMOD?

The following also reinforces this:

The install script will attempt to write-protect the settings.php file and
the sites/default directory after saving your configuration. However, you
may need to manually write-protect them using the commands (from the
installation directory):

chmod a-w sites/default/settings.php
chmod a-w sites/default

Is there multiple entities that needs to be CHMOD-ed? If so can you please explain what these are.

Comments

betz’s picture

No, its just sites/default/settings.php and the sites/default.
So befor installation, make those two writable, after make unwriteable again.
Thats it ;)

forumer’s picture

By "sites/default/settings.php", does that mean just settings.php file?

And by "sites/default" does that mean just the default folder?

What about the "sites", does that not count, and need CHMOD-ing too?

betz’s picture

Indeed its just the settings.php file and the default folder.
Even the default folder i'm not real shure, because i remember me install drupal without doing that and without any problems.
But just make those two writable, to be sure. :)

PS: dont forget to back CHMOD them after the install.

missdrika05’s picture

Filezilla is the FTP client I was using. All I did was right clicked on settings.php (file attributes) and typed 777 to make it writable, the same for default, I think I my have also did sites too.....thats all to it..

betz’s picture

That should be ok. Everything worked out well?