VSFTD 553 Could not create file

来源:互联网 发布:cdplay 视频服务器软件 编辑:程序博客网 时间:2024/04/30 05:03

我在vsftpd配置文件中 注释了 ROOT但是还是出现了不能上传的问题 原来是这个问题

我在LINUX下VSftp建立一个FTP服务器,但从WINDOWS使用FTP时,无法上传也无法下载!出错如下 


ftp>; ls 
200 PORT command successful. Consider using PASV. 
150 Here comes the directory listing. 
Desktop 
dead.letter 
ou 
vsftp-1.txt 
vsftp-2.txt 
vsftpd.conf 
226 Directory send OK. 
ftp>; put d:/fcitx/fcitx-3.1.1.tar.tar 
200 PORT command successful. Consider using PASV. 
553 Could not create file. 
ftp>; get vsftpd.conf 
200 PORT command successful. Consider using PASV. 

550 Failed to open file. 



搞定了,最重要的是man ftpd_selinux,解决这个问题只要: 
1. setsebool -P ftpd_disable_trans 1 
2. service vsftpd restart 


转载:http://blog.csdn.net/csucxcc/article/details/1770598

原创粉丝点击