From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075322406482.tru64-unix-managers.marc@archive.invalid> From: pcmc () gdf ! rl ! ac ! uk (Peter Chiu RAL SSD EODG Computer Section) Date: Tue, 08 Aug 1995 09:54:11 +0000 To: tru64-unix-managers Subject: Anonymous ftp X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075322406482 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@dartmouth.edu Dan Riley dsr@lns598.lns.cornell.edu Rob Evans r.evans@ic.ac.uk Mike Matthews, Mike_Matthews@sgate.com Craig I. Hagan hagan@oec.com Steve Crothers steve@eiscat.ag.rl.ac.uk Jim Johnson jj@uniprise.com Scotty Logan scotty@zinc.oucs.ox.ac.uk Paul E. Rockwell rockwell@rch.dec.com Bob Sloane sloane@kuhub.cc.ukans.edu Boris Yost boris@gore.afep.cornell.edu Mark Stover mstover@lis.pitt.edu J.James(Jim)Belonis II belonis@phys.washington.edu Michael Pruett michael@unicycle.cs.tulane.edu Mike Iglesias iglesias@draco.acs.uci.edu Pierre Wendling wendling@vbo.dec.com Knut Helleboe Knut.Hellebo@nho.hydro.com Miguel Mena migi@zuo.dec.com Richard M Rogers R.M.Rogers@staffs.ac.uk Iain Bruce isb2@redeyes.york.ac.uk