The goal: when a local user logs in to ftp, the user is directed to /home/{username}/htdocs. The expectation is that FileZilla or equivalent will show / and the contents of /home/{username}/htdocs below Like this:
/-
-file1
-file2
|-dir1
|-dir2
The closest I can get is to see / as /home/{username} and then its contents below.
/-
|-htdocs
|-file1
|-file2
|-dir1
|-dir2
I have tried multiple variations on the configurations suggested by all the postings on vsftpd but none seem to get me where I want to go. Either one can't get there from here or I'm missing something.
I've pared vsftpd.conf to a minimum:
listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
dirmessage_enable=YES
use_localtime=YES
connect_from_port_20=YES
virtual_use_local_privs=YES
#chroot_local_user=YES
user_config_dir=/etc/vsftp/users
With /etc/vsftp/users containing a file named {username} containing
local_root=/home/{username}/htdocs
This doesn't get me where I want to go.
So, what am I missing?
[Note: this is in anticipation of no result to my question about proftpd earlier]
Thanks.
George