[ROOT] windows: creates temfile in c:\

From: Christian Vogel (vogel@pi2.physik.uni-erlangen.de)
Date: Wed Nov 03 2004 - 20:01:45 MET


Hi,

I just downloaded root 4.00/08[1], the recommended version,
and extracted it to c:\Program Files\root. I have set the
environment variables like that (confirmed with the "set" command):

HOME=c:\Documents and Settings\chris   (== %USERPROFILE)
TEMP, TMP, TMPDIR=c:\DOCUME~1\chris\LOCALS~1\Temp
ROOTSYS=c:\Program Files\root
PATH={way too much stuff};c:\Program Files\root\bin

now if I start rootn.exe it is found in my path but it complains about
not being able to write some files, and it crashes for example if I
try tab-completion ( for example: "gEnv->Print(<TAB>" ).

I found out that those files are created in C:\. If I make c:\ writeable to
the user running rootn.exe (by issuing cacls c:\ /e /g chris:F) it works
as expected, but of course that behaviour is not desireable.

Which environment variable does root look at when building temporary
filenames? Or is there some other cure for that problem?

	Chris

[1] ftp://root.cern.ch/root/root_v4.00.08.win32gdk.tar.gz


-- 
Mophobia, n.: Fear of being verbally abused by a Mississippian.



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:10 MET