By simondavies
i have created a Ubuntu LEMP droplet etc and installed sever apps via terminal etc. But now i want o upload some files via ftp, but i am getting the permissions issue.
I have set up a new user and disabled root for security etc but when i ssh into my www shows the user/group as root:www-data.
in order to enable me to ftp into this wold i simply need to change the user:group to:
myuser:www-data via chown -R myuser:www-data or is there a better way to enable me to ftp into my droplet?
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!
You should be able to just add your user to the the www-data group: <br> <br><pre> <br>sudo usermod -a -G www-data your-user <br></pre>
sudo usermod -a -G www-data your-user
(you have to add “your-user” to “www-data” :) )
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.