I have had /home/gottlieb a symlink to /local/allan/gottlieb
for a while.  Now I am having a problem because apache doenn't follow
symlinks by default (presumably due to some security concern).

As a test I did

   rm /home/gottlieb
   mkdir /home/gottlieb
   mount --bind /local/allan/gottlieb /home/gottlieb

and all seems well.

Two questions.

1.  Are there common gotcha's with mount --bind.  That is, will
    programs that have worked fine with the symlink now fail?

2.  Assuming I want to go with mount --bind, how do I make it happen
    during startup (I assume the mount is not preserved across
    reboots).  The man pages for fstab doesn't suggest that fstab is
    the way to go.  Do you put the mount in the boot runlevel and if so
    where?

thanks,
allan
-- 
gentoo-user@gentoo.org mailing list

Reply via email to