>> Anonymous ftp does a chroot(2) to ~ftp to limit the possible damage to
>> your file system. Obviously sym-links can not bypass this... however
>> there are two easy solutions:
>> 1. Put the stuff in anon-ftp area and use symlinks everytwhere else.
>> 2. NFS mount the stuff read-only from localhost somewhere within the
>> anon-ftp area.
>> Looking at your situation I suggest option 2 (besides if you do it
>> properly it is more secure as a bonus). For a server get the user
>> space nfsd and mountd from sunsite (system/Networking/... I
>> think). You already have the port mapper, etc.
>Can you "spell out" how I would do this option 2? Basically I need to
>know exactly what I'm supposed to do to get a directory called /ftp/music
>that is -> to /dosc/music
>I want EVERYONE (anonymous users) to be able to access it, not just the
>people who have accounts on my system.
Put this line into /etc/exports:
Make sure that rpc.mountd and rpc.nfsd are started when your machine is
booted (with Slackware, uncomment them in /etc/rc.d/rc.inet2).
Put this line into /etc/fstab:
localhost:/dosc/music /ftp/music nfs defaults 1 1
With a standard installation like Slackware, that should be all.
Otherwise check that the first "mount -a" call has the option "-t nonfs"
and that you later (e.g. rc.inet2) do a "mount -a -t nfs".