Report this

What is the reason for this report?

Ubuntu - 550 Directory Operation Failed with Proper permissions

Posted on January 11, 2018

I’m attempting to create a folder via FileZilla on my Ubuntu droplet, but I receive the following each time I attempt to do so:

Command:	MKD /www/test
Response:	550 Create directory operation failed.

Running ls -lha Gives me:

drwxrwxrwx  4 bot  bot  4.0K Dec 27 04:33 bot

I have also tried the following:

 chmod -R 755 /home/
chown bot:bot /home -R

I’m sure this is a common issue, but I can only seem to find posts regarding the above commands which in my case have no worked :(

Thanks.

EDIT: Forgot to mention I am using apache2 and vsftp (I have also attempted to restart the services with no avail)



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.

Hello,

You can follow the step shere and connect with the user that is the owner of the directory that you are trying to upload to:

https://docs.digitalocean.com/products/droplets/how-to/transfer-files/

What I usually do is:

  • Follow the steps from the initial server setup tutorial here:

https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-20-04

Or there is also a video on how to do this:

  • Then use the new user that I’ve created to connect to via SFTP

That way you don’t have to use the root user and you would have access only to the directories that the new user owns.

Best,

Bobby

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.