I have been struggling for 6 hours or so uploading images to the /content/images from an FTP client (filezilla) from a user I made “ftpuser” as well as the user I created during the setup (ghostsetup), neither work. I tried few different things like giving ownership of the folder, but it does not seem to work dispite it being a fresh server with nothing else and results in ghost being unable to start because it does not have access to the image folders and have to undo it (also didnt give write access either).
I did not see any documentation on how to upload images into the content folder using FTP after a backup, only a brief statement simply staying “Upload using an FTP”. How does one do this without breaking ghost group setup and properly go about adding FTP user that can access Ghost without breaking it?
OS: Ubuntu 18.04
FTP Ubuntu User: FTPuser - Has read access but no write on the folder.
Problem Dir = /var/www/ghost/content/images/
Host = AWS (All ports are whitelisted for my ip)
FTP Program: vsftpd (config below)
# The default compiled in settings are fairly paranoid. This sample file # loosens things up a bit, to make the ftp daemon more usable. # Please see vsftpd.conf.5 for all compiled in defaults. # # READ THIS: This example file is NOT an exhaustive list of vsftpd options. # Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's # capabilities. # # # Run standalone? vsftpd can run either from an inetd or as a standalone # daemon started from an initscript. listen=NO # # This directive enables listening on IPv6 sockets. By default, listening # on the IPv6 "any" address (::) will accept connections from both IPv6 # and IPv4 clients. It is not necessary to listen on *both* IPv4 and IPv6 # sockets. If you want that (perhaps because you want to listen on specific # addresses) then you must run two copies of vsftpd with two configuration # files. allow_writeable_chroot=YES listen_ipv6=YES # # Allow anonymous FTP? (Disabled by default). anonymous_enable=NO # # Uncomment this to allow local users to log in. local_enable=YES # # Uncomment this to enable any form of FTP write command. write_enable=YES # # Default umask for local users is 077. You may wish to change this to 022, # if your users expect that (022 is used by most other ftpd's) local_umask=022 # # Uncomment this to allow the anonymous FTP user to upload files. This only # has an effect if the above global write enable is activated. Also, you will # obviously need to create a directory writable by the FTP user. #anon_upload_enable=YES # # Uncomment this if you want the anonymous FTP user to be able to create # new directories. #anon_mkdir_write_enable=YES # # Activate directory messages - messages given to remote users when they # go into a certain directory. dirmessage_enable=YES # # If enabled, vsftpd will display directory listings with the time # in your local time zone. The default is to display GMT. The # times returned by the MDTM FTP command are also affected by this # option. use_localtime=YES # # Activate logging of uploads/downloads. xferlog_enable=YES #