Subject: Yikes! FTP Erases Source File!

From: "Homer W. Smith" <[email-masked]>
Date: Sat, 7 Dec 1996 15:02:21 -0500 (EST)

Wuftpd beta 11(9)

    I have a file in a home directory called /home/homer/junk

    When I ftp ftp.lightlink.com and sign in as homer and use

cd /ftp/pub/homer
put /home/homer/junk
 
    junk is erased (actually set to 0 bytes)!
 
    What is this?

    Homer
--------------------------------------------------------------------------

Script started.

light/home/homer: dir junk
-rw-------  1 homer    users          25 Dec  7 14:58 junk
 
light/home/homer: cat junk
Hello there how are you.
 
light/home/homer: ftp lightlink.com
Connected to lightlink.com.
220-
220-                    ART MATRIX - LIGHTLINK
220-                   http://www.lightlink.com
220-                        (607) 277-0959
220-
220-        All transactions on this ftp server are logged.
220-
220 light FTP server (Version wu-2.4.2-academ[BETA-11](9) Wed Dec 4 18:45:50 EST 1996) ready.
Name (lightlink.com:homer): homer
331 Password required for homer.
Password:
230- 
230-     Welcome to the Art Matrix - Lightlink ftp server.  
230- 
230-     You are user number 4 out of a maximum of 50.
230-
230-     Local Time is: Sat Dec  7 14:58:54 1996
230-
230 User homer logged in.
ftp> cd /ftp/pub/homer
250-
250-     This is Homer's public ftp directory.
250-
250-     alt.clearing.technology archives are at
250-
250-     ftp://ftp.lightlink.com/pub/archive
250-
250 CWD command successful.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
total 20
-rw-r--r--  1 root     daemon        132 Oct  6 17:22 .message
drwxr-xr-x  2 homer    users        9216 Oct 10 12:58 act
drwxr-xr-x  2 homer    users         512 Jul 18 14:26 cisco
drwxr-xr-x  2 homer    users         512 Aug 10 19:18 crown
drwxr-xr-x  2 homer    users         512 Nov  3 11:18 infobot
drwxr-xr-x  2 homer    users         512 Aug 15 22:22 innd
drwxr-xr-x  2 homer    users         512 Mar 30  1996 lazarus
drwxr-xr-x  2 homer    users         512 Mar 30  1996 remailer
drwxr-xr-x  2 homer    users         512 Mar 30  1996 virt
drwxr-xr-x  7 homer    users        2560 Nov 16 23:01 www
226 Transfer complete.
624 bytes received in 0.14 seconds (4.5 Kbytes/s)
ftp> put /home/homer/junk
200 PORT command successful.
150 Opening ASCII mode data connection for /home/homer/junk.
226 Transfer complete.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
total 20
-rw-r--r--  1 root     daemon        132 Oct  6 17:22 .message
drwxr-xr-x  2 homer    users        9216 Oct 10 12:58 act
drwxr-xr-x  2 homer    users         512 Jul 18 14:26 cisco
drwxr-xr-x  2 homer    users         512 Aug 10 19:18 crown
drwxr-xr-x  2 homer    users         512 Nov  3 11:18 infobot
drwxr-xr-x  2 homer    users         512 Aug 15 22:22 innd
drwxr-xr-x  2 homer    users         512 Mar 30  1996 lazarus
drwxr-xr-x  2 homer    users         512 Mar 30  1996 remailer
drwxr-xr-x  2 homer    users         512 Mar 30  1996 virt
drwxr-xr-x  7 homer    users        2560 Nov 16 23:01 www
226 Transfer complete.
624 bytes received in 0.0024 seconds (2.5e+02 Kbytes/s)
ftp> quit
221 Goodbye.
 
light/home/homer: dir junk
-rw-------  1 homer    users           0 Dec  7 14:59 junk
 
light/home/homer: cat junk
 
light/home/homer: exit

script done on Sat Dec  7 14:59:18 1996