Report this

What is the reason for this report?

Permissions to copy files

Posted on January 1, 2014

Hello everyone, i have setup LAMP in Ubuntu 13.10, but i can´t copy or delete any file over any SFTP client, what can i do to resolve this?



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.

What user are you connecting as and what directory are you trying to write to?

Thanks for your help Kamal, im using a user that i created since i disabled root access via ssh, the folder is the default web root /var/www/.

You need to make sure that your user has write access to whatever folder you want that user to be able to modify files. Check out <a href=“https://digitalocean.com/community/articles/linux-permissions-basics-and-how-to-use-umask-on-a-vps”>Linux Permissions Basics and How to Use Umask on a VPS</a>.

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.