mount(8) will follow a symlink(7), so obviously it is *very* stupid to
mount under a directory a user other than root has write permission for,
as they could, for example
rm -rf path
ln -s /etc path
? so why doesnt the man page for mount(8) mention anything.
? why doesnt mount(8) warn when a mount is unsafe,
like ssh(1) does with ~/.ssh
it can be quite tempting to make hotplugd mount thumb drives
under the home directory of whoever is at a workstation...
obviously the safe way to do it is use symlink(7) *for* security,
and make a link to /mnt under the users home directory,
rather than the other way round!
cheers,
reuben.
---
thanks for all the fsck!