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!

750 Public_html Error chown nobody

Discussion in 'Security' started by YasIT, Jun 5, 2014.

  1. YasIT

    YasIT Active Member

    Joined:
    Jan 3, 2014
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hello,
    I want to chown all public_html directories in my server to username:nobody and chmod to 750.
    I have used /scripts/chownpublichtmls but nothing happend! folders are still username:username and 755!
    Thank you.
     
    #1 YasIT, Jun 5, 2014
    Last edited: Jun 5, 2014
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    The "chownpublichtmls" script is no longer functional. It's scheduled for removal in future builds of cPanel per internal case number 102425. To clarify, how were the ownership values on your public_html directories modified? You should be able to update ownership manually using the "chown" command if necessary.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. YasIT

    YasIT Active Member

    Joined:
    Jan 3, 2014
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    I have a large number of accounts
    Please give a command to change permssion the folder public_html to 750 and chown username:nobody all public_html users.

    Thanks
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    I do not personally advise making recursive permission/ownership changes unless you are a qualified system administrator with experience using those types of commands. That being said, you can find some user-submitted examples of this on threads like this:

    Changing Permissions on all users' public_html

    Thank you.
     
    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