Roland Mainz wrote:
> Dave Miner wrote:
>> Casper.Dik at Sun.COM wrote:
>>>> Darren J Moffat wrote:
>>>>> Roland Mainz wrote:
> [snip]
>>>> 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.
> Is there any bug yet to add a simple check to "pkgadd" to catch this
> kind of mistake early ?

I don't believe so, I hadn't had time to look into it yet.


Reply via email to