How do I determine the path the user logs in on FTP (VSFTP)? The user should only be able to access a specific path via FTP.
For example: The user can access only the path /var/lib/tomcat/webapps/ROOT. How do I configure this?
Try to configure your FTP server in chroot/jail environment.
Now, to file /etc/vsftpd/vsftpd.chroot_list simply add name of user user1.
Change your user default home directory or you can also bind your access path with home directory of user.