I'm running a proftpd server (on Ubuntu 8.04 server) with user accounts chrooted to their home directories. I have a share directory that I want all users to access. So in order to get out of chroot jail I need to set up a symlink like so...
mount --bind /share /home/john/share
This works until I reboot the server. I want to make this symlink permanent which from what I understand requires an entry in the fstab file.
So the question is how do I automount a symlink?
/dev/hdb1 /home ext2 defaults 1 2
Would mount the hard disk /dev/hdb1 to the /home directory. Would I want
/share /home/john/share auto rw,auto,user,sync 0 0
? To mount my /share directory inside my chrooted /home/john/share?
All of the examples I have found are for automounting hardware not directories on existing hardware.