Dynamic symlink?

Brian Candler B.Candler at pobox.com
Mon Oct 10 11:16:27 PDT 2005


Are there any clever tricks you can do such that a filesystem access to /tmp
is transparently redirected to /home/<user>/tmp ?

(Reason: Web server cluster. Many scripts expect to be able to store session
data in /tmp. Don't want to have a free-for-all NFS mount for /tmp)

Something which looks like a symlink with a dynamic target depending on the
uid of the person who reads it is the sort of thing I'm looking for.

Thanks,

Brian.


More information about the freebsd-questions mailing list