Please help me with this:
Error: Could not write to config.php file. Please, check you have set the correct CHMOD permissions!

I did this:
cd cms_arastta_1_5_0
sudo chmod -R 777 *
Wednesday, December 21 2016, 07:01 PM
Share this post:

Accepted Answer

Thursday, December 22 2016, 01:05 AM - #Permalink
PS! To correct your insecure folder and file permission, do:
find -type f -exec chmod 644 {} \;
find -type d -exec chmod 755 {} \;

And if it doesn't work with those permissions, find a new host.
The reply is currently minimized Show
Responses (2)
  • Accepted Answer

    Thursday, December 22 2016, 01:02 AM - #Permalink
    You need to talk to your host.

    If their setup requires you to set files and folders writable for the world, they suck - and you should find a new host.

    You should never need to set anything higher rights than 644 for files, and 755 for folders (anyway never 777 for files ...).
    The reply is currently minimized Show
  • Accepted Answer

    Friday, December 23 2016, 05:12 PM - #Permalink
    Alright! Thanks Rune! ;)
    The reply is currently minimized Show
Your Reply