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)
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:
https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-20-04
Or there is also a video on how to do this:
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