Report this

What is the reason for this report?

No permissions to website files on LAMP

Posted on May 14, 2014

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?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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: <br> <br><pre> <br>sudo usermod -a -G www-data username <br></pre>

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.