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

Re: ftp errors



"Burke, Thomas G." wrote:
> "Kevin Colby" wrote:
> > "Burke, Thomas G." wrote:
> > >
> > > I am trying to allow anonymous ftp to my machine, but it seems to
> > > not be working correctly.
> > > [...]
> > > ftp works fine from my work & internal machines with one caveat ->
> > > I cannot ls the ftp home directory (ls -al _does_ work, though)...
> >
> > Does "ls" works when logged in as anonymous or as yourself?
> > Does "ls -al" work during the same login that "ls" doesn't?
> >
>         [Burke, Thomas G.]  Yes.  Actually, ls works, it just says "No files
> found" (as if the directory were empty...  I checked, and all
> files/directories have at least 755 permissions...  This is under any login
> (anonymous or otherwise) when the user is sitting in the /home/ftp
> directory...  In certain other directories, it works fine.  (my own home
> directory, for instance).

This happens for anonymous or your own user?  both?
Are you doing "ls /somedir" or "cd /somedir; ls"?  Does the cd work?

There are only a few things going on here, really.  If ls works
at all for that user, then it should work everywhere.  However,
if a directory were set to "no read", the files would become
invisible.  If you try to "cd /somedir", that directory may also
not be accessible as anonymous because of the chroot to the
anonymous home directory that ftpd does.

	- Kevin Colby
	  kevinc grainsystems com



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