[OS X TeX] latexit issues

David Watson dewatson at mac.com
Sun Jun 15 20:05:18 CEST 2008


For what it's worth, TMPDIR is set in my environment too, and I can't  
figure out what is setting this for the life of me. It isn't in /etc/ 
bashrc or any of my .login or .bash* files.

On Jun 15, 2008, at 12:46 PM, Charilaos Skiadas wrote:

> Thanks for the clarification. It's perhaps purely academic at this  
> point, but this now does beg the question, why TMPDIR is set on the  
> OP's computer, and whether unsetting it might somehow miraculously  
> fix things? In particular, who owns that directory? It doesn't sound  
> to me like var is a directory that was meant to be easily user- 
> writable.
>
> On Jun 15, 2008, at 1:34 PM, David Watson wrote:
>
>> According to the mktemp manual page, if there is an existing  
>> environmental variable TMPDIR then this will be used along with any  
>> specified prefix to generate a template string when the utility is  
>> called.
>> If the user does not have a TMPDIR environmental variable, then "/ 
>> tmp" is used along with the specified prefix.
>>
>> On Jun 15, 2008, at 10:33 AM, Charilaos Skiadas wrote:
>>
>>> But why is it generating this directory under /var instead of  
>>> under /tmp, which seems to me would be the proper place?
>>>
>>> On Jun 15, 2008, at 11:21 AM, David Watson wrote:
>>>
>>>> That is normal behavior; the script is generating a temporary  
>>>> directory in order to do its work.
>>>>
>>>> On Jun 15, 2008, at 10:12 AM, Jan Anderssen wrote:
>>>>> i also noticed that one of the environment variables that's set  
>>>>> here is:
>>>>>
>>>>> TMPDIR=/var/folders/Er/ErMXeTzaFxyj9Nbt1EHATk+++TM/-Tmp-/
>>>>>
>>>>> i have no idea where that's coming from - presumably from the  
>>>>> operating system - but it seems to be missing for you. maybe  
>>>>> that's something that could lead somewhere?
>>>
>>> Haris Skiadas
>>> Department of Mathematics and Computer Science
>>> Hanover College
>>>
>
> Haris Skiadas
> Department of Mathematics and Computer Science
> Hanover College




More information about the macostex-archives mailing list