我在 Cygwin/Windows 7 上使用 proftpd 托管了一个 FTP 服务器。不幸的是,它无法工作,因为人们可以登录,但无法查看目录列表。Cygwin 用户向我保证这是一个软件问题,而不是 Cygwin 问题,尽管我不知道在哪里可以找到问题?
Filezilla:
Response: 200 Type set to I
Command: PASV
Response: 227 Entering Passive Mode (22,200,19,128,211,145).
Command: LIST
Error: Connection timed out
Error: Failed to retrieve directory listing
/var/log/proftpd:
Homecomputer (144.24.42.183[144.24.42.183]) - FTP session opened.
Homecomputer (144.24.42.183[144.24.42.183]) - PRIVS_USER: unable to seteuid(session.login_uid): Invalid argument
Homecomputer (144.24.42.183[144.24.42.183]) - USER chronoz: Login successful.
Homecomputer (144.24.42.183[144.24.42.183]) - error: /var/log is a world writeable directory
Homecomputer (144.24.42.183[144.24.42.183]) - PRIVS_USER: unable to seteuid(session.login_uid): Invalid argument
Homecomputer (144.24.42.183[144.24.42.183]) - PRIVS_SETUP: unable to seteuid(): Invalid argument
Homecomputer (144.24.42.183[144.24.42.183]) - PRIVS_RELINQUISH: unable to seteuid(session.uid): Invalid argument
Homecomputer (144.24.42.183[144.24.42.183]) - PRIVS_RELINQUISH: unable to seteuid(session.uid): Invalid argument
Apache 在托管文件方面运行良好,但 Google 在查找原因方面并没有提供太多帮助。