Gentoo Archives: gentoo-user

From: Adam Carter <Adam.Carter@×××××××××.au>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: [gentoo-user] proftpd anonymous ftp broken
Date: Tue, 08 Jul 2008 07:50:47
Message-Id: 707E41AE68E444499861C6B248AB86845352C6E821@excprdmbxw002.optus.com.au
1 Logging in anonymously fails, so check syslog and find;
2 Jul 8 17:40:22 absydos proftpd[17200]: absydos - ProFTPD 1.3.1rc2 (devel) (built Sun Aug 5 06:10:17 EST 2007) standalone mode STARTUP
3 Jul 8 17:40:28 absydos proftpd[17213]: absydos (10.28.209.110[10.28.209.110]) - FTP session opened.
4 Jul 8 17:40:28 absydos proftpd[17213]: absydos (10.28.209.110[10.28.209.110]) - ftp: Directory /home/ftp/ is not accessible.
5 Jul 8 17:40:28 absydos proftpd[17213]: absydos (10.28.209.110[10.28.209.110]) - FTP session closed.
6 But then;
7 absydos proftpd # ls -ld /home/ftp/
8 drwxrwxr-x 7 ftp ftp 1088 Jun 16 11:22 /home/ftp/
9 absydos proftpd # ps -ef | grep ftp
10 ftp 17200 1 0 17:40 ? 00:00:00 proftpd: (accepting connections)
11 absydos proftpd #
12 What am i missing? Auth ftp works fine.
13
14 proftpd.conf
15
16 <Anonymous /home/ftp>
17 User ftp
18 Group ftp
19
20 # We want clients to be able to login with "anonymous" as well as "ftp"
21 UserAlias anonymous ftp
22
23 # Limit the maximum number of anonymous logins
24 MaxClients 10
25
26 # We want 'welcome.msg' displayed at login, and '.message' displayed
27 # in each newly chdired directory.
28 DisplayLogin welcome.msg
29 #DisplayFirstChdir .message
30
31 # Limit WRITE everywhere in the anonymous chroot
32 #<Limit WRITE>
33 # DenyAll
34 #</Limit>
35
36 </Anonymous>
37
38 tnx.