你的位置:首页 > 软件开发 > 操作系统 > Linux系统Vsftp 传文件出现 553 Could Not Create File错误的解决方法

Linux系统Vsftp 传文件出现 553 Could Not Create File错误的解决方法

发布时间:2015-12-03 15:00:03
解决方法:登录出现了这个错误提示:553 Could not create fileSELinux设置如下查看SELinux设置[root@localhost ~]# getsebool -a|grep ftpallow_ftpd_anon_write –》 ...

解决方法:

登录出现了这个错误提示:553 Could not create file

SELinux设置如下

查看SELinux设置

[root@localhost ~]# getsebool -a|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

解决办法是,需要设置allow_ftpd_full_access为on状态。

[root@localhost ~]# setsebool allow_ftpd_full_access on

查看SELinux设置

[root@localhost ~]# getsebool -a|grep ftp

allow_ftpd_anon_write –》 off

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_passive_mode –》 off

httpd_enable_ftp_server –》 off

tftp_anon_write –》 off

重启vsftpd服务,测试可以登陆

[root@localhost ~]# service vsftpd restart

以上就是Linux系统vsftp出现553 Could not create file错误的解决方法了,有遇到这个问题的用户,可以试试我的这种方法。


原标题:Linux系统Vsftp 传文件出现 553 Could Not Create File错误的解决方法

关键词:linux

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

可能感兴趣文章

我的浏览记录