bgold0
By:
bgold0

No permissions to website files on LAMP

May 14, 2014 959 views
I followed the directions to install LAMP on Ubuntu 12.04 with this link: https://www.digitalocean.com/community/articles/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu I have successful connected to sftp using the new user it tells me to create. However, I can not edit, add, or delete any files. Does anyone know what I can do to start working on my website?
1 Answer
What files are you trying to edit? If you are trying to add/edit files in /var/www I would suggest adding your user to the www-data group. Run:


sudo usermod -a -G www-data username
Have another answer? Share your knowledge.