500 OOPS: could not read chroot() list file:/etc/vsftpd.chroot_list

chroot.png

This error message usually appears when the vsftpd (Very Secure FTP Daemon) server is unable to read the chroot list file. The chroot list file contains a list of users who are restricted to their home directories when they connect to the FTP server.

To fix this error, you can follow these steps:

Make sure that the chroot list file exists in the location "/etc/vsftpd.chroot_list". If the file doesn't exist, you can create it using the following command:

sudo touch /etc/vsftpd.chroot_list

Make sure that the vsftpd user has read access to the chroot list file. You can set the appropriate permissions using the following command:

sudo chmod 777 /etc/vsftpd.chroot_list

You can check the file permissions by using:

ls -la | grep vsftp.chroot_list

check_permissions.png

Restart the vsftpd service to apply the changes:

sudo systemctl restart vsftpd