解决FTP登录出现:500 OOPS: cannot change director

FTP登录出现: 500 OOPS: cannot change director

查看 :
sestatus -b | grep ftp 如果

ftp_home_dir off

tftpd_disable_trans off

解决: setsebool -P ftpd_disable_trans on 或者 setsebool -P ftp_home_dir on

vsftp 指定到特定目录: chroot_local_user=YES 开启来

FTP无法上传,修改和删除, 已经是 777 (553 Could not create file.):

setsebool -P allow_ftpd_full_access on