I have installed vsftpd on my MBWE(White Light) and everything is working fine, except I can't change the directory user guestftp starts in when they login to the ftp server using their browser. When guestftp logs in they start in /shares with all the shares visible as links. There is no link to the parent directory. Guestftp only has access to their particular directory, selecting any other directory will result in a webpage not found error, which is good. I assume that means chroot_local_user=YES is working properly. But I would like for them to start in /shares/guestftp.
I have trying using (not at the same time):
and none have worked.
I have also tried user_config_dir=/etc/vsftpd_user_conf and creating /etc/vsftpd_user_conf/guestftp with local_root=/shares/guestftp. This also did not work.
Does anybody know what I am doing wrong.
The contents of my vsftpd.conf are:
listen_port=21 accept_timeout=60 connect_timeout=60 data_connection_timeout=300 max_clients=0 max_per_ip=1 xferlog_enable=YES hide_ids=YES dirlist_enable=YES download_enable=YES use_localtime=YES write_enable=YES file_open_mode=0755 local_enable=YES local_umask=02 local_max_rate=0 user_config_dir=/etc/vsftpd_user_conf anon_root=/shares check_shell=NO chroot_local_user=YES userlist_enable=YES userlist_deny=NO userlist_file=/etc/vsftpd.user_list vsftpd_log_file=/var/log/vsftpd.log anonymous_enable=NO anon_mkdir_write_enable=NO anon_upload_enable=NO anon_world_readable_only=YES anon_other_write_enable=NO no_anon_password=YES anon_max_rate=0 anon_umask=077 share_acl_enable=YES pasv_enable=YES pasv_promiscuous=YES pasv_min_port=5000 pasv_max_port=5099 nopriv_user=ftpsecure