I mounted an external folder (from outside the ftp folder) in the ftp folder with mount bind parameter this way:
mount --bind sourcefolder destinationfolder
The folder is correctly mounted and I can see the files in my ssh client but if I connect to the FTP, the mounted folder simply doesn't appear. If I try to create a folder with the same name in the ftp client obviosly it doesn't allow me to create it because the same folder already exists. My vsftpd configuration looks as following: (The vsftpd is running under openVPN, don't know if this could be the problem)
Please note: I tryed to mount with bind a folder located in an external volume (partition). If I mount a folder in the same partition as the FTP folder, it works. But I need to mount the other partition volume.
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
listen=YES
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
chroot_local_user=YES
userlist_deny=NO
userlist_file=/etc/vsftpd/users_allow
listen_address=10.8.0.1
pasv_enable=YES
The used client is Filezilla 3.7.0.2