AI摘要
CentOS 7安装vsftpd后读取文件为空,通常是由于SELinux权限限制或防火墙拦截所致。解决方法为:执行`setenforce 0`临时关闭SELinux,停止并禁用防火墙,并将`/etc/selinux/config`文件中的`SELINUX`设置为`disabled`以永久生效。
Centos7安装vsftpd读取文件为空
解决办法
[root@es1 /]# setenforce 0
[root@es1 /]# systemctl stop firewalld
[root@es1 /]# systemctl disable firewalld
[root@es1 /]# vim /etc/selinux/config
SELINUX=enforcing
修改为
SELINUX=disabled
评论 (0)