On Tue, 22 May 2007, Brad Cavanagh wrote:
> Can the .gaia-cookie written to $HOME be relocatable via some environment
> variable? The UIST acquisition system runs up gaia as a specific user, but
> the process is spawned by root. This causes $HOME to be /root, which the user
> doesn't have write access to (and we don't want to make it world-writable for
> obvious reasons). If we could have some sort of $GAIA_COOKIE (or something
> similar) environment variable that controlled where the .gaia-cookie file got
> written, that would be swell.
How about just changing the HOME environment variable in the
gaia process? I don't know whether this would have any deleterious
side-effects; however, probably you don't want gaia to be using
~root for anything, so my guess is it would be OK.
--
Mark Taylor Astronomical Programmer Physics, Bristol University, UK
[log in to unmask] +44-117-928-8776 http://www.star.bris.ac.uk/~mbt/
|