Casper.Dik at Sun.COM wrote:
>> Darren J Moffat wrote:
>>> Roland Mainz wrote:
>>>> Requesting sponsor for CR# 6488593 ("/etc/profile should set TMPDIR to
>>>> /tmp/$LOGNAME/") - patch is included in the RFE...
>>> This will I believe need an ARC case since it is a change in default
>>> behaviour. It also should be done for all shells not just ones
>>> that read /etc/profile.
>>> Since I do this myself in my own .profile I feel duty bound to stand up
>>> to the plate and by your sponsor for this. So sign me up for putback
>>> sponsor and I'll be ARC case submitter too.
>> Good idea (I use this myself :-)). Should the directory be created
>> 700 by default?
> There's a risk in setting $TMPDIR and making it mode 700; the risk
> is that programs started under a different uid may start to fail.
Yeah, you'll notice that if you try to su to root and run installers
that run pkgadd internally. I use this method, and the StarOffice 8
installer failed quite mysteriously until I realized it was just an
instance of that problem and reset TMPDIR to something else.