Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Oct 2005 20:10:12 +0100
From:      Brian Candler <B.Candler@pobox.com>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Dynamic symlink?
Message-ID:  <20051010191012.GB23457@uk.tiscali.com>
In-Reply-To: <20051010183958.GH44754@dan.emsphone.com>
References:  <20051010182035.GA693@uk.tiscali.com> <20051010183958.GH44754@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 10, 2005 at 01:39:58PM -0500, Dan Nelson wrote:
> > 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.
> 
> You could probably use amd's hlfsd to do this

That's exactly what I was looking for, thank you.

> , or make sure that
> $TMPDIR is set correctly before launching the script, and force
> everyone to use $TMPDIR instead of hardcoding /tmp in their scripts.

Unfortunately, forcing people to be sensible in the design of their scripts
is not an option. Also, I'm not sure that in PHP I can do
    session.save_path = $ENV['TMPDIR'];

Cheers,

Brian.



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