[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: ftp errors



Yes, this happens for all users...  ls works fine when under a shell, tho...

ls is in /bin...  I copied it over & it seems to have no effect on the
problem

> -----Original Message-----
> From:	Kevin Colby [SMTP:kevinc grainsystems com]
> Sent:	Friday, July 28, 2000 11:07 AM
> To:	redhat-install-list redhat com
> Subject:	Re: ftp errors
> 
> 
> This is quite odd.  Does this happen for non-anonymous users as well?
> I believe they would use the copies in /usr/bin.  You could very well
> be right about /home/ftp/bin.  I would reinstall the ftp-anon rpm or
> at least check/copy the ls from /usr/bin.  I cannot think of any normal
> reason for this behavior.
> 
> 	- Kevin Colby
> 	  kevinc grainsystems com
> 
> 
> "Burke, Thomas G." wrote:
> > 
> > > >         [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?
> 
> 
> -- 
> To unsubscribe: mail redhat-install-list-request redhat com with
> "unsubscribe" as the Subject.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]