Results 1 to 10 of 10
  1. #1
    Join Date
    Jan 2020
    Location
    Johnson City, NY USA
    Posts
    6
    Plugin Contributions
    0

    Default Hostgator permissions

    Hostgator does NOT allow 777 file/folder permissions.....

    Name:  hostgator_permissions.jpg
Views: 353
Size:  23.5 KB

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,133
    Plugin Contributions
    11

    Default Re: Hostgator 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

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,472
    Plugin Contributions
    88

    Default Re: Hostgator permissions

    I'm wondering whether this Hostgator behavior will have "adverse" affects on plugins that introduce additional sub-directories (e.g. IH's /bmz_cache).

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,671
    Plugin Contributions
    123

    Default Re: Hostgator permissions

    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.

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,472
    Plugin Contributions
    88

    Default Re: Hostgator permissions

    Quote Originally Posted by swguy View Post
    Should be ok. Apache will run as the userid that owns DIR_WS_CATALOG so it will be able to create folders.
    It's just that I've seen (but can't remember when) issues where files/directories that are auto-created by plugins are mysteriously not visible.

  6. #6
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,682
    Plugin Contributions
    9

    Default Re: Hostgator permissions

    Quote Originally Posted by dbltoe View Post
    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
    i would not recommend suPHP. out of development for a number of years now:

    https://www.suphp.org/Home.html
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  7. #7
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,542
    Plugin Contributions
    19

    Default Re: Hostgator permissions

    Quote Originally Posted by lat9 View Post
    It's just that I've seen (but can't remember when) issues where files/directories that are auto-created by plugins are mysteriously not visible.
    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.
    Code:
    mkdir(DIR_IMAGES_OPTIMIZED . $name[0], 0755, true);
    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?

  8. #8
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,472
    Plugin Contributions
    88

    Default Re: Hostgator permissions

    Quote Originally Posted by balihr View Post
    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.
    Code:
    mkdir(DIR_IMAGES_OPTIMIZED . $name[0], 0755, true);
    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?
    That sure sounds like the situation I'd come across, essentially a very hidden directory.

  9. #9
    Join Date
    Jan 2020
    Location
    Johnson City, NY USA
    Posts
    6
    Plugin Contributions
    0

    Default Re: Hostgator permissions

    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.

  10. #10
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,133
    Plugin Contributions
    11

    Default Re: Hostgator permissions

    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.

    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.)
    I think all off us here have "bailed out" of instructions and proceeded on for one reason or another.

    A good opportunity to stress RTFI - Read The Full Instructions.

    At least you broke the shrink wrap

 

 

Similar Threads

  1. quickinstall on hostgator problems
    By nancar in forum Installing on a Windows Server
    Replies: 4
    Last Post: 31 Jul 2015, 01:15 AM
  2. v151 Hostgator PHP change
    By Alpha-Jason in forum General Questions
    Replies: 3
    Last Post: 16 May 2014, 05:24 PM
  3. email limitation at hostgator
    By fawad123 in forum General Questions
    Replies: 7
    Last Post: 29 Mar 2011, 11:33 AM
  4. Can't install on HostGator
    By dinki in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 7 Mar 2009, 09:12 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR