View Single Post
  #7  
Old 12th May 2006, 22:32
latcarf latcarf is offline
Senior Member
 
Join Date: Jul 2005
Posts: 215
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
I'd change

Code:
anon_mkdir_write_enable=NO
anon_other_write_enable=NO
to YES and try again (restart vsftpd).
I gave that a shot and the error message changed from "550 Failed to change directory" to "550 Failed to open file" plus it gave anon users the ability to delete files which is a no-no. After changing the config and restart I passed a doc to the ftp and then tried to download it from the ftp. Here is the log showing the transactions...
Code:
Fri May 12 14:55:31 2006 [pid 10277] CONNECT: Client "192.168.2.4"
Fri May 12 14:55:31 2006 [pid 10277] [ftp] OK LOGIN: Client "192.168.2.4", anon password "wsftp605@"
Fri May 12 14:55:45 2006 [pid 10277] [ftp] FAIL UPLOAD: Client "192.168.2.4", "/WS_FTP.LOG", 0.00Kbyte/sec
Fri May 12 14:55:54 2006 [pid 10277] [ftp] OK UPLOAD: Client "192.168.2.4", "/HowTo's/WS_FTP.LOG", 10761 bytes, 44.52Kbyte/sec
Fri May 12 14:56:06 2006 [pid 10277] [ftp] FAIL DOWNLOAD: Client "192.168.2.4", "/HowTo's/WS_FTP.LOG", 0.00Kbyte/sec
Fri May 12 14:56:29 2006 [pid 10277] [ftp] FAIL DOWNLOAD: Client "192.168.2.4", "/HowTo's/WS_FTP.LOG", 0.00Kbyte/sec
Fri May 12 14:56:32 2006 [pid 10277] [ftp] FAIL DOWNLOAD: Client "192.168.2.4", "/HowTo's/WS_FTP.LOG", 0.00Kbyte/sec
Fri May 12 14:56:52 2006 [pid 10277] [ftp] OK DOWNLOAD: Client "192.168.2.4", "/HowTo's/FunkyFlames.pdf", 509784 bytes, 55.78Kbyte/sec
Fri May 12 14:56:55 2006 [pid 10277] [ftp] FAIL DOWNLOAD: Client "192.168.2.4", "/HowTo's/WS_FTP.LOG", 0.00Kbyte/sec
Fri May 12 15:06:47 2006 [pid 5699] CONNECT: Client "192.168.2.4"
Fri May 12 15:06:47 2006 [pid 5699] [ftp] OK LOGIN: Client "192.168.2.4", anon password "wsftp605@"
Fri May 12 15:06:50 2006 [pid 5699] [ftp] FAIL DOWNLOAD: Client "192.168.2.4", "/HowTo's/WS_FTP.LOG", 0.00Kbyte/sec
Fri May 12 15:07:22 2006 [pid 5699] [ftp] OK DELETE: Client "192.168.2.4", "/HowTo's/WS_FTP.LOG"
Fri May 12 15:07:30 2006 [pid 5699] [ftp] OK UPLOAD: Client "192.168.2.4", "/HowTo's/WS_FTP.LOG", 10965 bytes, 47.44Kbyte/sec
Fri May 12 15:07:39 2006 [pid 5699] [ftp] FAIL DOWNLOAD: Client "192.168.2.4", "/HowTo's/WS_FTP.LOG", 0.00Kbyte/sec
Fri May 12 15:07:48 2006 [pid 5699] [ftp] OK DELETE: Client "192.168.2.4", "/HowTo's/WS_FTP.LOG"
Fri May 12 15:08:00 2006 [pid 5699] [ftp] OK UPLOAD: Client "192.168.2.4", "/HowTo's/WS_FTP.LOG", 11067 bytes, 47.35Kbyte/sec
Fri May 12 15:08:08 2006 [pid 5699] [ftp] FAIL DOWNLOAD: Client "192.168.2.4", "/HowTo's/WS_FTP.LOG", 0.00Kbyte/sec
Fri May 12 15:08:15 2006 [pid 5699] [ftp] FAIL DOWNLOAD: Client "192.168.2.4", "/HowTo's/WS_FTP.LOG", 0.00Kbyte/sec
Fri May 12 15:08:16 2006 [pid 5699] [ftp] FAIL DOWNLOAD: Client "192.168.2.4", "/HowTo's/WS_FTP.LOG", 0.00Kbyte/sec
Fri May 12 15:08:18 2006 [pid 5699] [ftp] FAIL DOWNLOAD: Client "192.168.2.4", "/HowTo's/WS_FTP.LOG", 0.00Kbyte/sec
Fri May 12 15:08:26 2006 [pid 5699] [ftp] OK DELETE: Client "192.168.2.4", "/HowTo's/WS_FTP.LOG"
Fri May 12 15:09:10 2006 [pid 5699] [ftp] OK UPLOAD: Client "192.168.2.4", "/Scripts/WS_FTP.hlp", 246726 bytes, 48.46Kbyte/sec
Fri May 12 15:09:17 2006 [pid 5699] [ftp] FAIL DOWNLOAD: Client "192.168.2.4", "/Scripts/WS_FTP.hlp", 0.00Kbyte/sec
Fri May 12 15:09:26 2006 [pid 5699] [ftp] OK DELETE: Client "192.168.2.4", "/Scripts/WS_FTP.hlp"
Reply With Quote