Skip to main content

Folder www removed

Comments

9 comments

  • dalem
    www is a symbolic link remove it and add cd /home/user ln -s public_html www
    0
  • Peoplespaces
    Thanks for this. I did it and the folder appears and is populated but I still get an error 'You don't have permission to access / on this server.' There must be something else he deleted as well.
    0
  • dalem
    Did you do it as the user or as root ? remove and do it as the user su username then run the command
    0
  • cPanelMichael
    Hello @Peoplespaces, The information in the previous post is correct. Ensure you create the symbolic link while logged in via SSH as the account username. Thank you.
    0
  • Peoplespaces
    Got it. Thank you guys. All is good now (I hope)
    0
  • Peoplespaces
    I spoke too soon. When I did that it also changed the public_html permissions to 0777. I change it back to 0750 and the same error comes up again.
    0
  • dalem
    chown username.nobody public_html
    0
  • Peoplespaces
    chown username.nobody public_html

    Thanks but no joy. SAame issue
    0
  • Peoplespaces
    OK, I got it to work changing the ownership through WinSCP. Thanks again
    0

Please sign in to leave a comment.