I have hosted a vsftp server on RHEL7. I have multile users who login to the vsftp server. This VSFTP is chrooted. My requirement is that some of the users should landup in their home dir and the rest in specific subfolder inside their home dir. The users who land inside the subfolder should be ABLE to enter their respective home directory.
Example passwd entry for john:
john:x:1234:123:Test account :/ftp/home/john/./test:/etc/ftponly
With the above configuration, when john logs into the VSFTP server he will be placed in the "test" folder in his home directory. But, when I do "cd .." he is not able to enter "/ftp/home/john/" folder.
My Requirement: john should be able to enter /ftp/home/john/ folder. but NOT /ftp/home/
Here is the content of my vsftpd.conf file