vsftpd中FTP登陆500 OOPS: cannot change directory错误解决方法
方法一
关闭setsebool
nano /etc/selinux/config 编辑setsebool配置文件
SELINUX=disabled 关闭
方法二
setsebool -P samba_enable_home_dirs on
setsebool ftpd_disable_trans 1
service vsftpd restart
setsebool ftp_home_dir on
查看结果
sestatus -b| grep ftp
allow_ftpd_anon_write off
allow_ftpd_full_access off
allow_ftpd_use_cifs off
allow_ftpd_use_nfs off
ftp_home_dir on
ftpd_connect_db off
ftpd_use_passive_mode off
httpd_enable_ftp_server off
tftp_anon_write off
转载请注明:RAIN MAN » vsftpd中FTP登陆500 OOPS: cannot change directory错误解决方法
标签: VSFTP
还没有人抢沙发呢~