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.

Public_html Permission Denied!

Discussion in 'General Discussion' started by islanding, Mar 17, 2010.

  1. islanding

    islanding Active Member

    Joined:
    Jun 19, 2008
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Boston
    cPanel 11.25.0-R43473 - WHM 11.25.0 - X 3.9
    CENTOS 5.4 x86_64 xen on ws1

    cPanel 11.25.0-R43473 - WHM 11.25.0 - X 3.9
    CENTOS 5.4 x86_64 xen on ws2

    I transferred multiple account between these two servers and all went okay, I thought. I have a problem on only one of the accounts transferred. I can not access public_html or www directories. Not from the file manager or ftp. I removed the account and transferred it again and same problem. SSH and remove all directories and files and did it again with the same problem. This account does not have the problem on the original server.
     
  2. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    Make sure your ownerships on all files and folders are correct ....
    (Should be setup for the new account login on the new server)

    Also, is your public_html folder permissions itself correct?
    Code:
    OWNER:      (account login)
    GROUP:       nobody
    PERMISSON:   750
    
    Also, is the original server and new server both running the same PHP?

    If the original server was SuPHP or FCGI and the new server just DSO then you could have problems accessing your scripts as well unless you do a lot of permission modifications likely needed.
     
  3. islanding

    islanding Active Member

    Joined:
    Jun 19, 2008
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Boston
    You are correct and I had to change the ownership of the directory. I am still not sure why this would happen. both the same php and configuration.

    I fixed this with chown command and it works fine now.
     
  4. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    Glad to be of help :)
     
Loading...

Share This Page