Anonymous ftp

From: Peter Chiu RAL SSD EODG Computer Section <pcmc_at_gdf.rl.ac.uk>
Date: Tue, 8 Aug 1995 10:54:11 +0100

Hi,

I was really stunned by the number of responses I received
this morning, a few hours I sent out the query. Many thanks
to whose who have replied to me.

Below is the summary of the replies and the list of experts
who gave me the advice.

Many thanks again.

Regards,
Peter Chiu
======================================================================
Question:

How to make files under a different directory tree be accessed
by the anonymous ftp account.

Summary of replies:

It is a known feature that, for security reason, the anonymous
ftp account does an implicite chroot at its start up, making only
one file system it can see, and nothing else. This file system is
the one where its default login directory resides (as specified in passwd).

To get round that, I have received three suggestions:

a. physically move/copy the data that you want to be visiable
   by this account to a subdirectory under the account,

b. if the data directory concerned resides in the same file system,
   use hardlink to point to the data directory,

c. mount the data directory using nfs with a mount point under the
   ftp directory, eg. mount local:/data /utility/ftp/pub/data.

In my particular case, the data directory tree that I want to
be seen by the ftp account is the one NFS-mounted from another
host running a different operating system. So, I go for the
first suggestion and mount the data tree again onto a ftp subdirectory.

I did try the 3rd suggestion, but somehow I can only access the
first level of subdirectory (eg /utility/ftp/pub/data/ukmodata)
and not below (/utility/ftp/pub/data/ukmodata/*).

Anyway, many thanks to those below who have responded to my question.
Pat Wilson paw_at_dartmouth.edu
Dan Riley dsr_at_lns598.lns.cornell.edu
Rob Evans r.evans_at_ic.ac.uk
Mike Matthews, Mike_Matthews_at_sgate.com
Craig I. Hagan hagan_at_oec.com
Steve Crothers steve_at_eiscat.ag.rl.ac.uk
Jim Johnson jj_at_uniprise.com
Scotty Logan scotty_at_zinc.oucs.ox.ac.uk
Paul E. Rockwell rockwell_at_rch.dec.com
Bob Sloane sloane_at_kuhub.cc.ukans.edu
Boris Yost boris_at_gore.afep.cornell.edu
 Mark Stover mstover_at_lis.pitt.edu
J.James(Jim)Belonis II belonis_at_phys.washington.edu
Michael Pruett michael_at_unicycle.cs.tulane.edu
Mike Iglesias iglesias_at_draco.acs.uci.edu
Pierre Wendling wendling_at_vbo.dec.com
Knut Helleboe Knut.Hellebo_at_nho.hydro.com
Miguel Mena migi_at_zuo.dec.com
Richard M Rogers R.M.Rogers_at_staffs.ac.uk
Iain Bruce isb2_at_redeyes.york.ac.uk
Received on Tue Aug 08 1995 - 13:55:45 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT