[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: ftp errors
- From: "Burke, Thomas G." <thomas_g_burke md northgrum com>
- To: "'redhat-install-list redhat com'" <redhat-install-list redhat com>
- Subject: RE: ftp errors
- Date: Fri, 28 Jul 2000 10:57:11 -0400
> > [Burke, Thomas G.] Happens for my user, and anonymous user in
> > /home/ftp directory.
> >
> > I can cd to any normal directory.
> > ls in /home/ftp or /home/ftp/pub gives the response "No Files
> Found"
> > ls -al shows all files in the normal ls -al format...
> > permissions on all files include 755....
>
> ls (in ftp) shows "no files found", but ls -al (in ftp) shows the files,
> or are you talking about a shell session? These files don't happen to
> have a "." as the first character in the name, do they?
> What about permissions on /home/ftp/pub itself?
>
[Burke, Thomas G.]
/home/ftp -> 555 ftp root
/home/ftp/pub -> 755 root ftp
/home/ftp/lib -> 755 root root
/home/ftp/bin -> 555 root root
/home/ftp/etc -> 555 root root
ftp to the machine as anonymous:
230 Guest login ok, access restrictions apply.
ftp> ls
200 PORT command successful.
550 No files found.
ftp> ls -al
200 PORT command successful.
150 Opening ASCII mode data connection for directory listing.
total 12
dr-xr-xr-x 6 14 root 1024 Feb 4 2000 .
dr-xr-xr-x 6 14 root 1024 Feb 4 2000 ..
dr-xr-xr-x 2 root root 1024 Apr 24 2000 bin
dr-xr-xr-x 2 root root 1024 Apr 24 2000 etc
dr-xr-xr-x 2 root root 1024 Apr 24 2000 bin
drwxr-xr-x 4 root 50 1024 Feb 4 2000 pub
226 Transfer complete.
367 bytes received in 0.08 seconds (4.71 Kbytes/sec)
ftp>cd pub
ftp> ls
200 PORT command successful.
550 No files found
ftp> ls -al
200 PORT command successful.
150 Opening ASCII mode data connection for directory listing.
total 8
drwxr-xr-x 4 root 50 1024 Feb 4 2000 .
dr-xr-xr-x 6 14 root 1024 Feb 4 2000 ..
drwxr-xr-x 3 500 500 1024 Jun 13 1999 cookbook
drwxr-xr-x 2 500 500 1024 May 14 1999 soft
226 Transfer complete.
252 bytes received in 0.06 seconds (4.06 Kbytes/sec)
ftp> cd soft
250 CWD command successful.
ftp> ls
200 PORT command succesful.
150 Opening ASCII mode data connection for file list.
bccte.zip
destroy.zip
monitor.zip
reboot.zip
226 Transfer complete
49 bytes transfered in 0.03 seconds (1.53 Kbytes/sec)
ftp> bye
After a little more digging around - ls does _NOT_ show _ANY_
directories without the -al options.
I wonder.... I was hacked some time ago, & reinstalled everything
in the main partitions... the home directories reside on different
partitions... I wonder if I got a hacker's ls command?
If this is the case, is it simply a matter of copying /usr/bin/?? to
/home/ftp/bin?
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]