Question

FTP Permissions to upload files

Posted May 11, 2014 9.2k views
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?

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.

2 answers
You should be able to just add your user to the the www-data group:


sudo usermod -a -G www-data your-user
sudo usermod -a -G www-data your-user  

(you have to add “your-user” to “www-data” :) )

Submit an Answer