I get this in administer

The directory sites/default is not protected from modifications and poses a security risk. You must change the directory's permissions to be non-writable. The file sites/default/settings.php is not protected from modifications and poses a security risk. You must change the file's permissions to be non-writable.

but if i make it non-writeable it takes to the install page

is this a bug?

Comments

robertdouglass’s picture

Windows? Mac? Linux?

the file needs to be readable but not writeable. But you only make this change AFTER the file has been updated to have your database connection details. You can optionally edit the file yourself to have the database connection details and then make the file unwriteable:

 * Database URL format:
 *   $db_url = 'mysql://username:password@localhost/databasename';
 *   $db_url = 'mysqli://username:password@localhost/databasename';
 *   $db_url = 'pgsql://username:password@localhost/databasename';
 */