[ROOT] Problem runnig ROOT as normal user in MacOS X

From: cstrato (cstrato@aon.at)
Date: Sat Jul 27 2002 - 18:13:17 MEST


Dear MacROOTers

I have just discoverd that I cannot run my programs in ROOT under
MacOS X when I am logged in as a normal user (staff), since I get
the following message:
CAUTION: tmpfile /var/tmp/tmp.2.xxx-cint canīt open
Error: could not create file /var/tmp/tmp.2.xxx-cint

Until now I was logged into MacOS X as single user (admin). However,
like Linux people learn that they usually should not login as root,
in OS X you should also create a normal user (staff) and not login
as adminstrator. For this reason I created a user and downloaded ROOT
from CVS into my user directory.

Using the ROOT version compiled in the user directory results in
the error shown above, since a normal user is not able to access the
/var directory which is a link to /private/var, where /private is
the root home directory, and only root has read/write permissions
to /private/var.

Do you know how I can solve this problem?

One possibility would be to chmod /private/var to all others, however,
I am not sure if this is a good idea, since I do not know why Apple
has made a link from /var to /private/var. There must be a reason?

Maybe, the best possibility would be if cint would use its own
/tmp directory or check first if the user has created a /User/tmp
driectory.

Thank you in advance for your help

Best regards
Christian
_._._._._._._._._._._._._._._._._
C.h.r.i.s.t.i.a.n S.t.r.a.t.o.w.a
V.i.e.n.n.a         A.u.s.t.r.i.a
_._._._._._._._._._._._._._._._._



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:01 MET