Drupal Permission problems

Post queries and issues that you found during ictfax installation

Drupal Permission problems

Postby dinaras » Tue Oct 02, 2012 10:23 am

Hello,
i try to install ictfax.
I am at the point where i make the installation of drupal frond end
I get the 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.

and

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.

The directory files exist while also the settings.php file exist.

I tried all sorts of permissions, 777, i also tried changing owner to apache gbut still no luck

How did you solve this problem

Centos 6.3 Freeswitch installation according to website install instruction

Thank you very much in advance

Dinos
dinaras
 
Posts: 5
Joined: Tue Oct 02, 2012 10:19 am

Re: Drupal Permission problems

Postby falak » Wed Oct 03, 2012 6:05 am

Following are the two steps that I follow when I got myself into the permission problem of drupal installation.

Permission Problem to the directory sites/default
1. Installation tries to create a folder "files" within "sites/default" but due to permission problem it is failed. You can manually create this folder and give it proper read write permission or simply run "chmod 777 files" in the "default" directory.

Permission Problem to the settings.php
This problem is similar to the above. Here you should first go to sites/default directory. Now copy default.settings.php and then paste it. Now rename the newly created copied file to settings.php. Set its permission to "chmod 777 settings.php".

If the problem persists, try setting permission for "default" directory. e.g "chmod 777 default". and then doing similar to "sites" directory. I hope this problem will be resolved.
falak
Site Admin
 
Posts: 168
Joined: Tue Jan 17, 2012 7:33 am

Re: Drupal Permission problems

Postby dinaras » Wed Oct 03, 2012 8:38 am

Hello, and thank you for your reply,

I have already triedallt his. Apache runs on apache user, i chowned all files to user apache group apache, and made files 777, but still same problem....
I also searched forums that give same solution.

Any other ideas?

Thank youin advance

p.s Great work, all of your products
dinaras
 
Posts: 5
Joined: Tue Oct 02, 2012 10:19 am

Re: Drupal Permission problems

Postby falak » Wed Oct 03, 2012 1:00 pm

Try disabling selinux on CentOS? Have you done that?
falak
Site Admin
 
Posts: 168
Joined: Tue Jan 17, 2012 7:33 am

Re: Drupal Permission problems

Postby dinaras » Wed Oct 03, 2012 1:40 pm

Yes of course, if i didnt disable this then i wouldnt be able to see the web interface
ANy more ideas?

Thank you

Dinos
dinaras
 
Posts: 5
Joined: Tue Oct 02, 2012 10:19 am

Re: Drupal Permission problems

Postby JeffRoberson » Thu May 15, 2014 5:20 pm

I had the same issues.

Run:
# setenforce 0

Then I was able to complete the installation.
JeffRoberson
 
Posts: 1
Joined: Thu May 15, 2014 5:15 pm

Re: Drupal Permission problems

Postby yahaira » Wed May 21, 2014 12:54 am

I had the same issues.
yahaira
 
Posts: 1
Joined: Wed May 21, 2014 12:36 am
Location: 9221 Ravenna Rd


Return to Installation

Who is online

Users browsing this forum: No registered users and 1 guest

cron