I'm trying to restrict a user to a specific directory called gclegal using a chroot jail. I've uncommented the line in the /etc/vsftpd.conf filechroot_local_user=YESCreated a new user called kg:$ sudo groupadd xenomai$ sudo useradd -d /var/www/html/gclegal -g xenomai kg$ sudo passwd kg With this configuration I'm able to login through vsftpd with kg user but I'm also able to browse back to parent directories and modify them until /var/www/html.How can I disable all operations outside the home of the user (/var/www/html/gclegal)?
Disable operations outside user's home directory with chroot jail?
users;chroot;vsftpd