Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Oct 2005 19:20:35 +0100
From:      Brian Candler <B.Candler@pobox.com>
To:        freebsd-questions@freebsd.org
Subject:   Dynamic symlink?
Message-ID:  <20051010182035.GA693@uk.tiscali.com>

index | next in thread | raw e-mail

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.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051010182035.GA693>