public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* Re: On network instllation of Linux
@  Victor Tsaran
   ` Kirk Reiser
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Victor Tsaran @  UTC (permalink / raw)
  To: speakup; +Cc: linux-l

OK, guys! I did the RTFM process and am ready to network install RedHat6.1. I
ran, however, into a very small and funny problem.
>From within my public FTP area I tried to create a symbolic link to the
directory where CDROM is mounted. Everything went fine. WHen I access this
directory from FTP as a user, then I can enter it with no problems, however,
when I try to do it anonymously, I get "no such file or directory" error. I
assume this has to do with /etc/ftpaccess file, but I don't know how to modify
it to correct the problem.

Here is the small scenario.

I have directory /mnt/cdrom
Under /home/ftp I create a soft link to /mnt/cdrom by

ln --symbolic /mnt/cdrom redhat

OK, now I canswitch to redhat by typing

cd redhat

everything works fine.

If I enter through FTP as a user, Ican still

cd redhat

however, when I login anonymously and try

cd redhat

I get "no such file or directory".

Can anyone help?
Thanks,
Vic



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: On network instllation of Linux
   On network instllation of Linux Victor Tsaran
@  ` Kirk Reiser
     ` Victor Tsaran
   ` William F. Acker WB2FLW +1-303-777-8123
   ` Gorgotek Systems
  2 siblings, 1 reply; 6+ messages in thread
From: Kirk Reiser @  UTC (permalink / raw)
  To: speakup; +Cc: speakup, linux-l

Hi Vick:  Nice description of your problem there.  You cannot access
it because anonymous logins are a very special case of ftp which
restrict the users logging in to a very specific subdirectory tree.
This is to keep anonymous logins out of your main directory tree.  If
you really want to have anonymous access to the cd then you will need
to mount it down in the ftp tree someplace.  The ftp tree usually
starts at /var/spool/ftp.  I hope this is helpful

  Kirk

-- 

Kirk Reiser				The Computer Braille Facility
e-mail: kirk@braille.uwo.ca		University of Western Ontario
phone: (519) 661-3061


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: On network instllation of Linux
   ` Kirk Reiser
@    ` Victor Tsaran
  0 siblings, 0 replies; 6+ messages in thread
From: Victor Tsaran @  UTC (permalink / raw)
  To: speakup

Hey, Kirk!
Hey, how right it is! Gees, why didn't I think about it in the first place?
Thanks a lot.
Viuc

----- Original Message -----
From: "Kirk Reiser" <kirk@braille.uwo.ca>
To: <speakup@braille.uwo.ca>
Cc: <speakup@speech.braille.uwo.ca>; <linux-l@softcon.com>
Sent: Tuesday, June 06, 2000 11:25 AM
Subject: Re: On network instllation of Linux


| Hi Vick:  Nice description of your problem there.  You cannot access
| it because anonymous logins are a very special case of ftp which
| restrict the users logging in to a very specific subdirectory tree.
| This is to keep anonymous logins out of your main directory tree.  If
| you really want to have anonymous access to the cd then you will need
| to mount it down in the ftp tree someplace.  The ftp tree usually
| starts at /var/spool/ftp.  I hope this is helpful
|
|   Kirk
|
| --
|
| Kirk Reiser The Computer Braille Facility
| e-mail: kirk@braille.uwo.ca University of Western Ontario
| phone: (519) 661-3061
|
| _______________________________________________
| Speakup mailing list
| Speakup@braille.uwo.ca
| http://speech.braille.uwo.ca/mailman/listinfo/speakup



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: On network instllation of Linux
   On network instllation of Linux Victor Tsaran
   ` Kirk Reiser
@  ` William F. Acker WB2FLW +1-303-777-8123
     ` Charles Hallenbeck
   ` Gorgotek Systems
  2 siblings, 1 reply; 6+ messages in thread
From: William F. Acker WB2FLW +1-303-777-8123 @  UTC (permalink / raw)
  To: speakup; +Cc: speakup, linux-l

Hi Vic,

     The reason you can't use a symbolic link from your CDROM directory to 
your anonymous tree is because when you log in as anonymous, the system
does a change root (chroot) to the root of your anonymous tree.  Have
you ever noticed that when you look around systems you've accessed by
anonymous FTP, you find directories such as lib, bin, and dev.  This is
because the process you're running needs to be able to access libraries, 
commands and devices.  Because of the change root, the ftp process can't 
access the real root, or, for that matter, anything else on the system
that's above the root of the anonymous FTP tree.  It would be better to
create a directory in /home/ftp and mount your CDROM on that for the
install.




          Hope this helps.
          Bill in Denver
On Tue, 6 Jun 2000, Victor Tsaran wrote:

> OK, guys! I did the RTFM process and am ready to network install RedHat6.1. I
> ran, however, into a very small and funny problem.
> >From within my public FTP area I tried to create a symbolic link to the
> directory where CDROM is mounted. Everything went fine. WHen I access this
> directory from FTP as a user, then I can enter it with no problems, however,
> when I try to do it anonymously, I get "no such file or directory" error. I
> assume this has to do with /etc/ftpaccess file, but I don't know how to modify
> it to correct the problem.
> 
> Here is the small scenario.
> 
> I have directory /mnt/cdrom
> Under /home/ftp I create a soft link to /mnt/cdrom by
> 
> ln --symbolic /mnt/cdrom redhat
> 
> OK, now I canswitch to redhat by typing
> 
> cd redhat
> 
> everything works fine.
> 
> If I enter through FTP as a user, Ican still
> 
> cd redhat
> 
> however, when I login anonymously and try
> 
> cd redhat
> 
> I get "no such file or directory".
> 
> Can anyone help?
> Thanks,
> Vic
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: On network instllation of Linux
   ` William F. Acker WB2FLW +1-303-777-8123
@    ` Charles Hallenbeck
  0 siblings, 0 replies; 6+ messages in thread
From: Charles Hallenbeck @  UTC (permalink / raw)
  To: speakup

WVOn Wed, 7 Jun 2000, William F. Acker WB2FLW +1-303-777-8123 wrote:
> It would be better to
> create a directory in /home/ftp and mount your CDROM on that for the
> install.
> 
Bill - That is very interesting. Slackware creates such a directory by
default, and I have never known why.
Chuck.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: On network instllation of Linux
   On network instllation of Linux Victor Tsaran
   ` Kirk Reiser
   ` William F. Acker WB2FLW +1-303-777-8123
@  ` Gorgotek Systems
  2 siblings, 0 replies; 6+ messages in thread
From: Gorgotek Systems @  UTC (permalink / raw)
  To: speakup; +Cc: speakup, linux-l

Or you can do it the Redhat way,

rpm -qa |grep ftp	# list installed packages with ftp in the name

list output, you should have at least wu-ftpd and anonftp. in your case
you probably do not have anonftp installed. install this and it will 
set up your /home/ftp tree.

from the /mnt/cdrom/Redhat/RPMS tree

ls -al |grep ftp	#list rpm packages with ftp in the name
rpm -i anonftp-2.8-1.i386.rpm	#install rpm package

You should now have you /home/ftp tree. You should also check out
http://www.redhat.com/support/errata/RHSA1999043-01.html
for security issues regarding wu-ftpd.

Greg Keto


Victor Tsaran wrote:
> 
> OK, guys! I did the RTFM process and am ready to network install RedHat6.1. I
> ran, however, into a very small and funny problem.
> >From within my public FTP area I tried to create a symbolic link to the
> directory where CDROM is mounted. Everything went fine. WHen I access this
> directory from FTP as a user, then I can enter it with no problems, however,
> when I try to do it anonymously, I get "no such file or directory" error. I
> assume this has to do with /etc/ftpaccess file, but I don't know how to modify
> it to correct the problem.
> 
> Here is the small scenario.
> 
> I have directory /mnt/cdrom
> Under /home/ftp I create a soft link to /mnt/cdrom by
> 
> ln --symbolic /mnt/cdrom redhat
> 
> OK, now I canswitch to redhat by typing
> 
> cd redhat
> 
> everything works fine.
> 
> If I enter through FTP as a user, Ican still
> 
> cd redhat
> 
> however, when I login anonymously and try
> 
> cd redhat
> 
> I get "no such file or directory".
> 
> Can anyone help?
> Thanks,
> Vic
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 On network instllation of Linux Victor Tsaran
 ` Kirk Reiser
   ` Victor Tsaran
 ` William F. Acker WB2FLW +1-303-777-8123
   ` Charles Hallenbeck
 ` Gorgotek Systems

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).