From owner-freebsd-questions@FreeBSD.ORG Mon Oct 10 19:06:04 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D508416A41F for ; Mon, 10 Oct 2005 19:06:04 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from thorn.pobox.com (thorn.pobox.com [208.210.124.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77B4043D48 for ; Mon, 10 Oct 2005 19:06:04 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from thorn (localhost [127.0.0.1]) by thorn.pobox.com (Postfix) with ESMTP id 8B5D79E; Mon, 10 Oct 2005 14:45:56 -0400 (EDT) Received: from billdog.local.linnet.org (dsl-212-74-113-66.access.uk.tiscali.com [212.74.113.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by thorn.sasl.smtp.pobox.com (Postfix) with ESMTP id 58F2F3CBC; Mon, 10 Oct 2005 14:45:55 -0400 (EDT) Received: from brian by billdog.local.linnet.org with local (Exim 4.50 (FreeBSD)) id 1EP32K-00067S-UL; Mon, 10 Oct 2005 20:10:12 +0100 Date: Mon, 10 Oct 2005 20:10:12 +0100 From: Brian Candler To: Dan Nelson Message-ID: <20051010191012.GB23457@uk.tiscali.com> References: <20051010182035.GA693@uk.tiscali.com> <20051010183958.GH44754@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051010183958.GH44754@dan.emsphone.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-questions@freebsd.org Subject: Re: Dynamic symlink? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Oct 2005 19:06:04 -0000 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.