Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

New public_html sub-directories are 775, not 755

Discussion in 'General Discussion' started by SolidI, Nov 29, 2016.

Tags:
  1. SolidI

    SolidI Registered

    Joined:
    Nov 29, 2016
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    NJ
    cPanel Access Level:
    Root Administrator
    I found this thread Files & Folders Permissions and after reading the replies I've decided to post here.

    I have a GoDaddy VPS. I have root WHM access. As root, I create a new account. I then connect via FTP and create a new folder within the public_html folder. That folder's default permissions are 775, not 755.

    What can I do to ensure that public_html folders are created with 755 permissions for all of my current and future accounts?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,633
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. SolidI

    SolidI Registered

    Joined:
    Nov 29, 2016
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    NJ
    cPanel Access Level:
    Root Administrator
    Bingo. I was connecting via SFTP. I've changed the connection protocol to FTP and now all new folders that I create have permissions of 755.

    Thank you!
     
    cPanelMichael likes this.
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,633
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @SolidI,

    I'm happy to see it's now working well. Thank you for updating us with the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice