Where is vsftpd home directory located on Ubuntu 16.04 LTS, and where does it store files?
It depends on your configuration - see man vsftpd.conf. There are two major cases:
By default the anonymous log-in is not enabled. So you must log-in with a system user. For example if you are logging-in with
user1you will be redirected to its
$HOMEdirectory, that should be
If you have enabled the anonymous log-in by the option directive
anonymous_enable, you must specify also
anon_root. For example, to enamle the minimal anonymous configuration:
Add these two lines to
Create the directory and restart the service:
sudo mkdir /home/ftp/ sudo systemctl restart vsftpd.service
Note with this configuration the users are not permitted to upload files. This is more complicated task...