Hostgator does NOT allow 777 file/folder permissions.....
Hostgator does NOT allow 777 file/folder permissions.....
Nothing wrong with that. Take a look at https://www.zen-cart.com/content.php...-files-folders
Most folks now run suPHP which works with 755 vs 777
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL, Domain, and MagicThumb with semi-annual and longer hosting.
I'm wondering whether this Hostgator behavior will have "adverse" affects on plugins that introduce additional sub-directories (e.g. IH's /bmz_cache).
Should be ok. Apache will run as the userid that owns DIR_WS_CATALOG so it will be able to create folders.
That Software Guy. My Store: Zen Cart Modifications
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
i would not recommend suPHP. out of development for a number of years now:
https://www.suphp.org/Home.html
I just had a case where a fellow Zenner couldn't get ZX OI running. Directories WERE created and were visible, but couldn't access it.
The directory was created with 644 permissions and even FTP couldn't "open" it. user/group were correct, tho, and manually changing permissions to 755 fixed it. Wonder if it's related?Code:mkdir(DIR_IMAGES_OPTIMIZED . $name[0], 0755, true);
I had set permissions to 777 based on the Zen Cart installation instructions. I am just passing this along in hopes that it helps other HostGator users.
Good for folks to know.
You mentioned the installation instructions. Often times, folks will stop reading before finishing the instructions. Sometimes from the "yeah, I knew that" mindset or they see a Set Permissions on folders section, scan and see 777, then proceed on.
The instructions at https://www.zen-cart.com/content.php...stall-zen-cart read.
I think all off us here have "bailed out" of instructions and proceeded on for one reason or another.Some folders and files need special "writable" permissions for use in Zen Cart. "Writable" typically requires 777 permission. (Your hosting company may only allow 755 as writable, and using 777 may cause blank screens when accessing your site. In that case, use 755. Ask your hosting company for direction.)
A good opportunity to stress RTFI - Read The Full Instructions.
At least you broke the shrink wrap
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL, Domain, and MagicThumb with semi-annual and longer hosting.
Bookmarks