Hi,

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

Error:

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!

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.

×
1 answer

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

Submit an Answer