On Tue, 11 Sep 2001 09:09, Tom Prado wrote:
> When I run fam as root and I have the TMPDIR environment variable set
> to /root/tmp, fam creates it's temporary file /tmp/.famXXXXX in
> /root/tmp/.famXXXXX so any client that connects won't work. I take
> it the client needs to be able to access the .tmp file too?
This sounds correct.
My thought is that FAM *should* respect this environment variable, but
perhaps some sanity checking should be performed to ensure that TMPDIR
has all the necessary permissions.
I will have a think about this issue. There may also be the
possibility to override the temporary directory location in the
configuration file, but I'll check with Rusty and others whether this
is desirable.
Thanks for reporting this.
> The following patch removes the TMPDIR environment variable
> from fam's running environment before creating the tmp file name
> and fixes the problem..
I may use your patch, depending on which way we go.
Cheers.
--
MICHAEL WARDLE
SGI FAM Maintainer
Adacel Technologies Limited
--
Source code, list archive, and docs: http://oss.sgi.com/projects/fam/
To unsubscribe: echo unsubscribe fam | mail majordomo@xxxxxxxxxxx
|