To install vsftpd FTP server in CentOS, run
yum install -y vsftpd
Enable vsftpd to start on boot
systemctl enable vsftpd
Edit configuration file
vi /etc/vsftpd/vsftpd.conf
You need to update/add following configuration options
chroot_local_user=YES allow_writeable_chroot=YES local_umask=002 file_open_mode=0755 force_dot_files=YES
Restart vsftpd
systemctl restart vsftpd
Allow System Accounts to login
local_enable=YES write_enable=YES
Find
anonymous_enable=YES
Replace With
anonymous_enable=NO
Find
#chroot_local_user=YES
Replace with
chroot_local_user=YES
Add
allow_writeable_chroot=YES local_umask=002 file_open_mode=0755
See vsftpd