Folder www removed
Hi:
I have a client who removed his www folder. I reinstalled it and did a one page publish but nothing happens. www folder remains empty.
Suggestions?
-
www is a symbolic link remove it and add cd /home/user ln -s public_html www 0 -
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 -
Did you do it as the user or as root ? remove and do it as the user su username then run the command 0 -
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 -
Got it. Thank you guys. All is good now (I hope) 0 -
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 -
chown username.nobody public_html 0 -
chown username.nobody public_html
Thanks but no joy. SAame issue0 -
OK, I got it to work changing the ownership through WinSCP. Thanks again 0
Please sign in to leave a comment.
Comments
9 comments