Cannot upload, change or do anything with my FTP account


I followed this tutorial to create an FTP account so I could begin working with my server.

I created a user and I could login to the FTP account. But when I tried to change the default index.html with the Welcome to NGINX message to something else I got permission error.

I tried even to create a file and that did not work either. Does anyone know what I have missed?

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

The tutorial you mentioned using restricts users to their own home directories. Using that, you will not be able to edit files owned by root or the webserver.

Since your domain no longer seems to be showing the default Nginx welcome page, it looks like you figured out how to do it. There are a number of different ways to do so. One would be to log in to the server as the root users and adjust the document root for Nginx to be located in a directory that the ftp user can upload to.