ExpressionEngine CMS
Open, Free, Amazing

Thread

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

The active forums are here.

Permissons on path.php and config.php after installation?

December 17, 2009 10:34am

Subscribe [2]
  • #1 / Dec 17, 2009 10:34am

    Prentiss Riddle

    15 posts

    I know that the generic id used by Apache needs to be able to write to path.php and system/config.php during installation so those files need to be set 666 at that time.

    Is that true after installation as well?  Are there ongoing admin tasks which need to be able to update those files?

    I’ve seen some indication that the installation process is supposed to set those files to 644 after it is through writing to them, but in my case they are still set to 666.

    PHP files set to 666 make me nervous on principle and I’d like to set them to 644 unless that breaks something.

    Thanks.

  • #2 / Dec 17, 2009 10:37am

    Sue Crocker

    26054 posts

    Prentiss, path.php will not need to be touched again, but config.php will be changed often enough. Look at the config items in the config.php file. All of the items there could be changed at one time or another.

    Does that help?

  • #3 / Jan 04, 2010 10:41am

    Prentiss Riddle

    15 posts

    So if I understand correctly that I can chmod path.php to 644 but need to leave system/config.php at 666, then yes that helps.  Thanks.

  • #4 / Jan 04, 2010 10:58am

    Sue Crocker

    26054 posts

    Prentiss, that’s correct. But you *could* use 644 on config.php and change the permissions as needed.

    Does that help?

  • #5 / Jan 04, 2010 11:02am

    Prentiss Riddle

    15 posts

    Yes, thanks!  And happy new year.

  • #6 / Jan 04, 2010 11:07am

    Sue Crocker

    26054 posts

    You too! Don’t hesitate to post again as needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases