ubuntu vsftpd.chroot_list could not read chroot() list file:/etc/vsftpd.chroot_list, - 550 Failed to change directory

https://devanswers.co/installing-ftp-server-vsftpd-ubuntu-18-04/

sudo gedit /etc/vsftpd.conf

write_enable=YES
local_umask=022
chroot_local_user=YES
chroot_list_enable=YES
# (default follows)
chroot_list_file=/etc/vsftpd.chroot_list

                                • -

sudo gedit /etc/vsftpd.chroot_list
ftpuser


#-----------------------added by admin ---------------------------------

#To force vsftpd to show file names that begin with a dot
force_dot_files=YES

# add some port ranges for passive FTP to make sure enough connections are available.
pasv_min_port=40000
pasv_max_port=50000

#To change the root directory to /
local_root=/