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!

Chown Trouble

Discussion in 'General Discussion' started by incubus, Aug 4, 2004.

  1. incubus

    incubus Registered

    Joined:
    May 7, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
    Back when cpanel had the trouble with 500's all over I was dumb and did a chmod -Rf 755 /home to get everyones site back up and running

    Now this besides being bad way to have it , also messes up mail box's now with the newest updated.

    Is there a way to fix this huge mistake ?
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    I'd suggest running:
    /scripts/enablefileprotect
    /scripts/mailperm
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. incubus

    incubus Registered

    Joined:
    May 7, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
    When I do that everyone gets 403 not permited
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Then you must have screwed the permissions up really well ;)

    The directories within /home/ should be CHMOD 711 and owned by username:username
    The public_html directories within the /home/username/ directory should be CHMOD 750 and owned by username:nobody
     
    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