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.

CPanel Account Folder Permissions Broken

Discussion in 'General Discussion' started by thewird, Nov 7, 2007.

  1. thewird

    thewird Well-Known Member

    Joined:
    Jan 4, 2006
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Toronto
    I accidently changed the ownership and permissions of the folders in /home/ by extracting something there and now the websites don't work. Is there anyway to fix them back to there old state? Permissions right now are...

    drwxr-x--- root.user user/

    Comparing to other servers it should be...

    drwxr-xr-x user.user user/

    thewird
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    You mean by using the chown command or something more automated to automatically detect the incorrect permissions and fix them?
     
  3. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA
    i helped a guy a few years ago who had chowned root.root to everything in /home/ ..I don't remember what I did you fix it but I want to say I found a script in /scripts that fixed it.
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Searching your previous posts did yield a potentially useful thread:

    http://forums.cpanel.net/showthread.php?t=60028
     
  5. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA
    imagine that ..someone else screwed up ownership on major folders with nested results.

    I could have sworn there a script in /scripts will fix the /home onerships. fixhome or fixpublichtml or something like that. anyway ..YES this thread above should help.

    Good luck!
     
Loading...

Share This Page