Zen Cart Logo
Forums / General Questions / Godaddy migration permissions

Godaddy migration permissions

Views: 569

Results 1 to 2 of 2
13 Apr 2012, 6:21 PM
#1
coins avatar

coins

New Zenner

Join Date:
Jun 2008
Posts:
37
Plugin Contributions:
0

Godaddy migration permissions

Hello friends,
my host (godaddy) did some migration, and when I checked my site, there was a zen banner notifying security issues with permissions.
seem like all permissions set to 705 while migrating. after some fiddling about the permissions, I went ahead and change the 2 configure files to 444 and it seem like everything works fine again.

on the zen help file the recommendation is 777 for all files other then those 2.

my question is if the 705 instead of the 777 for all files (other then the "configure") is a problem or I can leave it at that, as it seem to work fine?

13 Apr 2012, 6:34 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Godaddy migration permissions

I think you're misreading the documentation. 777 is NOT recommended as a general rule. It's only used in temporary situations such as installation-time when one needs to make a file writable temporarily. After that, setting permissions to a lower value is important.

Your configure.php files need to be set to a value that makes them read-only. Specifically they only need to be readable by the Apache/PHP process running on the server. Your hosting company can tell you what the correct value is for your particular server. Often 444 is used for that.

BUT WAY MORE IMPORTANT THAN ALL OF THAT is the fact that you're using a VERY OLD version of Zen Cart with SERIOUS SECURITY PROBLEMS. You need to upgrade to a secure version ASAP.