Hi,
I'm installing Drupal 7.4
But getting following error:
File system The directory *sites/default/files* is not writable. 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. For more information, see INSTALL.txt or the online handbook http://drupal.org/server-permissions. OK Unicode library PHP Mbstring Extension Error Settings file The settings file does not exist. 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*. More details about installing Drupal are available in INSTALL.txt http://127.0.0.1/drupal-7.4/INSTALL.txt. I did :
chmod a+w sites/default mkdir sites/default/files chmod a+w sites/default/files
And also this:
cp sites/default/default.settings.php sites/default/settings.php chmod a+w sites/default/settings.php
Even then the error remains as it is.
I looked into drupal forum but no one has got proper solution.
I'm installing it on Fedora 14.
Can it be SELinux issue? Because I'm getting working whenever i click on "proceed with installation"
Thanks.
Sorry,
This is the error which I'm getting:
File system The directory *sites/default/files* is not writable. 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. For more information, see INSTALL.txt or the online handbook http://drupal.org/server-permissions. Settings file The settings file is not writable. The Drupal installer requires write permissions to *./sites/default/settings.php* during the installation process. If you are unsure how to grant file permissions, consult the online handbook http://drupal.org/server-permissions.
On Wed, Jul 6, 2011 at 1:56 PM, chetan patil chtpatil@gmail.com wrote:
Hi,
I'm installing Drupal 7.4
But getting following error:
File system The directory *sites/default/files* is not writable. 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. For more information, see INSTALL.txt or the online handbook http://drupal.org/server-permissions. OK Unicode library PHP Mbstring Extension Error Settings file The settings file does not exist. 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*. More details about installing Drupal are available in INSTALL.txt http://127.0.0.1/drupal-7.4/INSTALL.txt. I did :
chmod a+w sites/default mkdir sites/default/files chmod a+w sites/default/files
And also this:
cp sites/default/default.settings.php sites/default/settings.php chmod a+w sites/default/settings.php
Even then the error remains as it is.
I looked into drupal forum but no one has got proper solution.
I'm installing it on Fedora 14.
Can it be SELinux issue? Because I'm getting working whenever i click on "proceed with installation"
Thanks.
-- Chetan Arvind Patil, +919970018364
From your root install directory, you need to do this in the command line:
chmod a+w sites/default
Once installation is complete, you then:
chmod go-w sites/default
Jamie Holly http://www.intoxination.net http://www.hollyit.net
On 7/6/2011 4:31 AM, chetan patil wrote:
Sorry,
This is the error which I'm getting:
File system The directory /sites/default/files/ is not writable. 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. For more information, see INSTALL.txt or the online handbook http://drupal.org/server-permissions.
Settings file The settings file is not writable. The Drupal installer requires write permissions to /./sites/default/settings.php/ during the installation process. If you are unsure how to grant file permissions, consult the online handbook http://drupal.org/server-permissions.
On Wed, Jul 6, 2011 at 1:56 PM, chetan patil <chtpatil@gmail.com mailto:chtpatil@gmail.com> wrote:
Hi, I'm installing Drupal 7.4 But getting following error: File system The directory /sites/default/files/ is not writable. 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. For more information, see INSTALL.txt or the online handbook <http://drupal.org/server-permissions>. OK Unicode library PHP Mbstring Extension Error Settings file The settings file does not exist. 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/. More details about installing Drupal are available in INSTALL.txt <http://127.0.0.1/drupal-7.4/INSTALL.txt>. I did : chmod a+w sites/default mkdir sites/default/files chmod a+w sites/default/files And also this: cp sites/default/default.settings.php sites/default/settings.php chmod a+w sites/default/settings.php Even then the error remains as it is. I looked into drupal forum but no one has got proper solution. I'm installing it on Fedora 14. Can it be SELinux issue? Because I'm getting working whenever i click on "proceed with installation" Thanks. -- Chetan Arvind Patil, +919970018364-- Chetan Arvind Patil, +919970018364
try to use these commands i hope this will help u..,,
$ sudo cp sites/default/default.settings.php sites/default/settings.php
Next, give the web server write privileges to the sites/default/settings.php file with the command: $ sudo 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: $ sudo chmod o+w sites/default
Issue was with SElinux in fedora. It's solved now.
During installation I disabled SElinux then no issue was there and after installation I restarted selinux and now things are working nicely with out error.
Thanks. On 07-Jul-2011 11:32 PM, "dakshata gaikar" gaikar.daksha@gmail.com wrote:
try to use these commands i hope this will help u..,,
$ sudo cp sites/default/default.settings.php sites/default/settings.php
Next, give the web server write privileges to the sites/default/settings.php file with the command: $ sudo 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: $ sudo chmod o+w sites/default