![什么可能导致此 ProFTPD 目录列表错误?](https://linux22.com/image/550387/%E4%BB%80%E4%B9%88%E5%8F%AF%E8%83%BD%E5%AF%BC%E8%87%B4%E6%AD%A4%20ProFTPD%20%E7%9B%AE%E5%BD%95%E5%88%97%E8%A1%A8%E9%94%99%E8%AF%AF%EF%BC%9F.png)
我在 Filezilla 中收到的错误是“无法获取目录列表”。在 Firefox 中,它只是继续加载,没有任何反应。对于两个客户端,proftpd.log 中都显示相同的消息。
Computer - error setting write fd TCP_NOPUSH: Protocol not available
Computer - error setting read fd TCP_NOPUSH: Protocol not available
Computer (193.140.12.170[193.140.12.170]) - FTP session opened.
Computer (193.140.12.170[193.140.12.170]) - PRIVS_USER: unable to seteuid(session.login_uid): Invalid argument
Computer (193.140.12.170[193.140.12.170]) - USER testing: Login successful.
Computer (193.140.12.170[193.140.12.170]) - error: /var/log is a world writeable directory
Computer (193.140.12.170[193.140.12.170]) - PRIVS_USER: unable to seteuid(session.login_uid): Invalid argument
Computer (193.140.12.170[193.140.12.170]) - PRIVS_SETUP: unable to seteuid(): Invalid argument
Computer (193.140.12.170[193.140.12.170]) - PRIVS_RELINQUISH: unable to seteuid(session.uid): Invalid argument
Computer (193.140.12.170[193.140.12.170]) - PRIVS_RELINQUISH: unable to seteuid(session.uid): Invalid argument
Computer (193.140.12.170[193.140.12.170]) - FTP no transfer timeout, disconnected
Computer (193.140.12.170[193.140.12.170]) - FTP session closed.
Computer - error setting write fd TCP_NOPUSH: Protocol not available
Computer - error setting read fd TCP_NOPUSH: Protocol not available
Computer (193.140.12.170[193.140.12.170]) - FTP session opened.
Computer (193.140.12.170[193.140.12.170]) - no such user 'ftp'
Computer (193.140.12.170[193.140.12.170]) - USER ftp: no such user found from 193.140.12.170 [193.140.12.170] to 192.168.10.138:21
Computer (193.140.12.170[193.140.12.170]) - FTP session closed.
Computer - error setting write fd TCP_NOPUSH: Protocol not available
Computer - error setting read fd TCP_NOPUSH: Protocol not available
Computer (193.140.12.170[193.140.12.170]) - FTP session opened.
Computer (193.140.12.170[193.140.12.170]) - PRIVS_USER: unable to seteuid(session.login_uid): Invalid argument
Computer (193.140.12.170[193.140.12.170]) - USER testing: Login successful.
Computer (193.140.12.170[193.140.12.170]) - error: /var/log is a world writeable directory
Computer (193.140.12.170[193.140.12.170]) - PRIVS_USER: unable to seteuid(session.login_uid): Invalid argument
Computer (193.140.12.170[193.140.12.170]) - PRIVS_SETUP: unable to seteuid(): Invalid argument
Computer (193.140.12.170[193.140.12.170]) - PRIVS_RELINQUISH: unable to seteuid(session.uid): Invalid argument
Computer (193.140.12.170[193.140.12.170]) - PRIVS_RELINQUISH: unable to seteuid(session.uid): Invalid argument
Computer (193.140.12.170[193.140.12.170]) - PRIVS_RELINQUISH: unable to seteuid(session.uid): Invalid argument
ProFTPD 是通过 Cygwin 安装的,尽管他们说这不是 Cygwin 的问题。
我尝试添加以下条目:
IdentLookups off
UseReverseDNS off
不幸的是,它仍然无法成功提供目录列表。通过 cygwin 的 Apache 服务器可以完美地托管相同的目录。