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!

403 errors-everybody's permissions messed up

Discussion in 'General Discussion' started by grabyourhosting, Apr 22, 2007.

  1. grabyourhosting

    grabyourhosting Well-Known Member

    Joined:
    Jan 18, 2007
    Messages:
    71
    Likes Received:
    3
    Trophy Points:
    158
    cPanel Access Level:
    Root Administrator
    How do you change the owner for a single folder and its files in SSH?
     
  2. grabyourhosting

    grabyourhosting Well-Known Member

    Joined:
    Jan 18, 2007
    Messages:
    71
    Likes Received:
    3
    Trophy Points:
    158
    cPanel Access Level:
    Root Administrator
    Actually I found it. Its really easy. :)

    Here is an example:
    chown -R hostuswe:hostuswe /home/hostuswe
     
  3. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    8
    Trophy Points:
    193
    That would be with the "chown" command but generally only works if
    you are logged into the server as "root" usually.

    chown -R username:group (folder or files)

    NOTE: The -R option lets you recursively update all the files under a folder
     
  4. grabyourhosting

    grabyourhosting Well-Known Member

    Joined:
    Jan 18, 2007
    Messages:
    71
    Likes Received:
    3
    Trophy Points:
    158
    cPanel Access Level:
    Root Administrator
    How do you fix everybody's permissions and change it for the public_html directory and the /home/username directory? I know you can change it to 755 but how do you automatically change it?
     
  5. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,309
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    scripts/chownpublichtmls might help.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. grabyourhosting

    grabyourhosting Well-Known Member

    Joined:
    Jan 18, 2007
    Messages:
    71
    Likes Received:
    3
    Trophy Points:
    158
    cPanel Access Level:
    Root Administrator
    This is odd. Its hanging on one site..... Oh its being slow.
     
    #6 grabyourhosting, Apr 22, 2007
    Last edited: Apr 22, 2007
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