Re: Everytime I upload website files I have to change the permissions to view??
Originally Posted by
TFroehlich3
Hello Everyone, I have a web server setup in my basement and it is working just dandy, except every time I upload files to it I have to run the command "sudo chmod -R 755 /var/www" in order to view the websites because if I don't it will say I do not have permission to view the webpage. I am running multiple websites with vhosts, just an FYI, and I followed the tutorial linked below. Can someone please tell me something that I can do to fix this issue or tell me if the tutorial is wrong, which I have noticed from time to time.
https://www.digitalocean.com/communi...12-04-ltsThank you so much!
What FTP server are you using - there are several things that you may change to make things work without having to chmod.
Don't waste your energy trying to change opinions ... Do your thing, and don't care if they like it.
Bookmarks