Report this

What is the reason for this report?

User permission on FTP

Posted on June 25, 2018

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!



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.

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

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.