0

I can't login to downloader with the error: Unable to write to the configuration file.

file permission of downloader/config.ini is 666, any idea?

Unable to write to the configuration file.

| improve this question | | | | |
  • 666 is a weird setting, try 644 instead. Basically, all files should have 644 and folders should have 755. – Max Jan 26 '17 at 15:10
  • no way, files 644 and folder 755, same behavior – cris Jan 26 '17 at 15:37
  • check file ownership then. Most of the times, this is my problem. – Max Jan 26 '17 at 21:22
0

You need to check with your hosting provider on whether they are running SuPHP or SuExec as the file permissions will be different.

If the server is using SuPHP or SuExec, all files should be set to 644 and all directories should be set to 755 (instead of 666 and 777 which are not secure).

You may also need to make sure that the files ownership are all correct and unless you have SSH access, this will need to be checked with your hosting provider as well.

| improve this answer | | | | |
  • Thanks for your answer, i'm using php5, user ubuntu, group www-data. I set all folder permissions 755 and file 644 – cris Jan 26 '17 at 16:57
  • 1
    Solved, I have to set user and group to www-data. – cris Jan 26 '17 at 17:16
  • Yes, it's good. – PЯINCƏ Jan 26 '17 at 17:18
0

Changing permissions not fixing this problem for you?

The system seems to require that the ownership of the files belongs to the user that runs the webserver. Having group write, or world write (which would imply that any user could write) does not seem to be enough. So for example my server is running Debian, with the Bitnami LAMP stack and their Magento module. The owner of the root magento folder is user "bitnami". The webserver runs as user "daemon". Although daemon group had write access I could not get downloaded to work until daemon was the owner:

sudo chown -R daemon downloader

You may also need to change ownership of another file:

sudo chown daemon var/brute-force.ini

| improve this answer | | | | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.