I've got an Ubuntu 14.04 server running apache2
If I SSH in, I can create a directory and files in /var/www/html and they are served appropriately.
If I FTP in with a user I setup (whose 'home' I set to /var/www/html)- I cannot create directories or upload files. If I make that FTP user the owner of the HTML directory - I can then create directories and upload files, but they do not get served. Instead I get a 403 error saying it's forbidden.
So, I'm pretty sure it's a rights issue but I don't want to have to do everything through SSH in order to create directories and pages. I made root owner of the /var/www/html again just to avoid any issues.
So - what is the best process for creating an FTP user (for example named FTPUser) that has the rights to create directories and upload files via FTP? I have created that user - but I'm newer to Ubuntu and unfamiliar with 'best practice', this is a server that will be facing outward to the world so I can access it while not at home as well - so I don't want to just give full access away easily.
I will be the only one accessing this server - so really I just need one user who can access via FTP and create/delete/edit things in /var/www/html