Question

Cannot upload, change or do anything with my FTP account

  • Posted September 13, 2014

Hi,

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?

Subscribe
Share

Submit an 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.

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.