Thank you all for your helpful replies. Here is what I discovered so far.:
Originally Posted by
DrByte
I find this FAQ to be very helpful as security tightening checklist. However, while it calls for the following directories to have world-readable permissions (777):
./cache
./pub
./images
./includes/languages/english/html_includes
./admin/backups
./admin/images/graphs
I discovered that in my web host's (shared) account they are all set to 755 - and Zen Cart works perfectly. My web host is using suPHP (note that this is neither SUEXEC nor PHPSUEXEC but rather a 3rd variant).
Does that mean the FAQ needs to be corrected?
Originally Posted by
Website Rob
If you run the command as you've shown you will have a big mess.
You are right, of course. It was simply a typo. What I intend to run is the following (in this exact sequence):
Code:
cd ~/public_html/<catalog>
find . -type d -exec chmod -R 755 {} \;
find . -type f -exec chmod 644 {} \;
chmod 444 ./includes/configure.php
chmod 444 ./admin/includes/configure.php
Do you notice any problem with the above?
Bookmarks