The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page