zoukankan      html  css  js  c++  java
  • 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
    就行了。

  • 相关阅读:
    HZOJ 太阳神
    HZOJ Silhouette
    HZOJ Dash Speed
    HZOJ 巨神兵
    值得纪念的cspsAFO总结
    11月FLAG
    模板易错总结
    树 总结
    DP总结(优化等)
    代码低级错误总结
  • 原文地址:https://www.cnblogs.com/sung/p/3928365.html
Copyright © 2011-2022 走看看