Incorrect index.php file permissions

Started by animetoys, June 15, 2016, 10:23:33 PM

Previous topic - Next topic

animetoys

Hi I could solve this problem.

home/hjpnlklb/public_html/index.php file is writable. It is recommended to set read and execute modes for this file to keep it secured and running properly!

Basara

Hi.

You need to change index.php file permission in order to be more secure.
This is very easy to fix. Go to your site root (where AbanteCart files installed) via FTP or hosting Cpanel Filemanger and change file permission to 444 or 644
Read more http://docs.abantecart.com/pages/tips/troubleshooting.html#permissions

timlight10

After upgrading from version 1.2.16 to 1.3.3, I am getting this error message all the time. My index.php file is already set to 644, but I still get the error. How do I stop it from happening?

Basara

Hello.
This file should be set with 644 or 640 permissions (444, or 400 depending on your server setup).

timlight10

Quote from: timlight10 on February 26, 2023, 04:00:49 PM
My index.php file is already set to 644, but I still get the error. How do I stop it from happening?

timlight10

I'd like to get this error message to go away. Why am I still seeing it if my file has the correct permissions?

Basara

Hello.
You see this because the file is writable but it should not be. Please set more strict permissions (may wary on different hostings/servers)

timlight10

I "resolved" this by setting Settings > System > System Check to Disabled. Not really a resolution, but since the file permissions are correct and AbanteCart was unable to provide further support, at least I am not nagged with the error message constantly.

Basara

Quote from: timlight10 on March 26, 2023, 09:30:34 AM
I "resolved" this by setting Settings > System > System Check to Disabled. Not really a resolution, but since the file permissions are correct and AbanteCart was unable to provide further support, at least I am not nagged with the error message constantly.

Hello. AbanteCart checks if files are writable and return an error even if "correct" permissions are set. Not all servers are configured correctly or in the same way. I suggest setting more strict permissions if 644 is left files writable.


Forum Rules Code of conduct
AbanteCart.com 2010 -