Dear Fons, dear Christian Thank you both for your reply. Meanwhile I have tried the solution, proposed by Christian, to set $TMPDIR, which solved my problem. Best regards Christian P.S.: I was thinking to use chmod as a last solution, but I am reluctant to do so, since I do not know why Apple has linked /var to /private/var. I have already posted this question on an Apple discussion group, but until now did not receive an answer. Fons Rademakers wrote: > We use the tmpnam() function which should return a path to an accessable > tmp directory. As safe quick fix do chmod 777 /private/var/tmp. > > --Fons > > On Sat, 2002-07-27 at 18:13, cstrato wrote: > >>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:02 MET