Report this

What is the reason for this report?

FTP Permissions to upload files

Posted on May 11, 2014

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!

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.

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” :) )

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.