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.

Permissions issues

Discussion in 'General Discussion' started by wmowat, Nov 25, 2009.

  1. wmowat

    wmowat Member

    Joined:
    Jul 11, 2004
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    North Bay, ON, Canada
    Hello,

    I have been running into some major issues lately. A couple of weeks ago all of my client sites went error 403. Turns out it was related to permissions being changed server wide. I'm still at a loss as to what caused this, but I was able to get it fixed. Or so I thought. I'm still having multiple smaller problems which I think are related. Clients can't access horde, reset passwords, one user can't create cron jobs and he can't make changes to his shoutcast server when all of this was working fine before. Is there any way to reset the permissions so I can at least eliminate this possibility?

    Thanks.
     
  2. lloyd_tennison

    lloyd_tennison Well-Known Member

    Joined:
    Mar 12, 2004
    Messages:
    698
    Likes Received:
    1
    Trophy Points:
    18
    Start with this:

    /scripts/chownpublichtmls

    Then force a cpanel update

    /scripts/upcp --force
     
  3. wmowat

    wmowat Member

    Joined:
    Jul 11, 2004
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    North Bay, ON, Canada
    Thanks very much. After many hours of trial and error I did discover that.

    To be exact I had to run the following to totally recover:

    /scripts/checkbsdgroups
    /scripts/chownpublichtmls

    Followed by

    login to root whm

    go to whm >> Resellers >> Reseller Center >> Reset Resellers

    Select all Resellers under Reset package permissions to default

    Click the reset button.

    Before the next step make sure you have an ACL list created with your default permissions.

    go to whm >> Resellers >> Reseller Center >> Reset Resellers

    Select all Resellers under Apply an ACL list to multiple resellers

    Select the appropriate ACL list

    Hit apply.

    Once that is done you should be back to normal.

    You may want to also run:

    /scripts/fixeverything/
    upcp --force

    then

    service httpd restart
    service named restart

    just to clean up anything else.
     
    #3 wmowat, Dec 4, 2009
    Last edited: Dec 4, 2009
Loading...

Share This Page