ExpressionEngine CMS
Open, Free, Amazing


This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

False config.php permissions error

April 05, 2013 3:25am

Subscribe [3]
  • #1 / Apr 05, 2013 3:25am

    13 posts

    Heya lovely people,

    I’ve moved a copy of EE 2.3.1 from one server to another. Everything works, however when changing settings in Admin > General Configuration, I get the following error:

    Your config.php file does not appear to have the proper file permissions. Please set the file permissions to 666 on the following file: expressionengine/config/config.php

    Both my FTP-client and SSH tell me the permissions on config.php are in fact set to 666. In addition, I am in fact able to change settings through the General Configuration page. So EE throws the error, but does change the settings, proving (I suppose) that config.php in does have the right permissions.

    Any ideas on how to get rid of the error? Thanks a million! :D

  • #2 / Apr 05, 2013 3:43am

    13 posts

    In addition, here are the results from the EE-server wizard. I figured this might help shed light on the issue.

  • #3 / May 02, 2013 10:18pm


    76 posts

    Have you tried SSHing in and using ‘ls -l’ to check who has ownership of the file?  In some server situations, the owner needs to be the FTP username for the site to modify files eg use ‘chown user:group config.php’ to change ownership.

  • #4 / Mar 17, 2015 1:14pm

    James Catt

    17 posts

    I had the same problem. In my case the issue was with the SELinux type. It was set to httpd_sys_content_t but needed to be httpd_sys_rw_content_t.

    You can set this with:

    sudo chcon -v --type=httpd_sys_rw_content_t /path/to/your/config.php
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases