Centos7安装vsftpd读取文件为空

1585364631
2022-03-24 / 0 评论 / 383 阅读 / 正在检测是否收录...
温馨提示:
本文最后更新于2022年03月24日,已超过1458天没有更新,若内容或图片失效,请留言反馈。

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

评论 (0)

取消