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.

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:
    1
    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,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I'd suggest running:
    /scripts/enablefileprotect
    /scripts/mailperm
     
  3. incubus

    incubus Registered

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

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    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
     
Loading...

Share This Page