User permission on FTP


I trying send the php.ini to my server, but I can’t with my user.


Error: /etc/php/7.0/apache2/php.ini: open for write: permission denied Error: File transfer failed

How I give root permission to this user?

I want use him in FTP, like Filezilla.

Can you help me?

Thank you!


Submit an 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.

Hi @Julinho,

It usually depends on the FTP service you are using on your droplet however there is something you can use for every situation as it’s actually not related to FTP.

You can go and add the FTP user you are using to the root group or just use root and login via FTP.

Having said that, I won’t recommend doing such a thing as it’s considered as a security breach. If you wish to edit system files use ssh and do it from a terminal or the DigitalOcean Console for your droplet.

Regards, KDSys