閱讀273 返回首頁    go 阿裏雲 go 技術社區[雲棲]


vsftp "上傳 553 Could not create file"

我在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
就行了。

最後更新:2017-04-02 16:47:37

  上一篇:go ubuntu 12.04 install java
  下一篇:go Linux 默認根目錄的作用說明(中英文對照)