解决CentOs下FTP无法使用的问题(cannot change directory:/home/hlapp)

前端之家收集整理的这篇文章主要介绍了解决CentOs下FTP无法使用的问题(cannot change directory:/home/hlapp)前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
[root@localhost ~]# setsebool  allow_ftpd_anon_write=1 allow_ftpd_full_access=1 ftp_home_dir=1 
[root@localhost ~]# getsebool -a |grep ftp
allow_ftpd_anon_write --> on
allow_ftpd_full_access --> on
allow_ftpd_use_cifs --> off
allow_ftpd_use_nfs --> off
ftp_home_dir --> on
ftpd_connect_db --> off
ftpd_use_fusefs --> off
ftpd_use_passive_mode --> off
httpd_enable_ftp_server --> off
tftp_anon_write --> off
tftp_use_cifs --> off
tftp_use_nfs --> off
[root@localhost ~]#  /etc/init.d/vsftpd restart
Shutting down vsftpd:                                      [  OK  ]
Starting vsftpd for vsftpd:                                [  OK  ]
[root@localhost ~]# cat /etc/issue
CentOS release 6.6 (Final)
Kernel \r on an \m

猜你在找的CentOS相关文章