[tex-live] [mf] option `-output-directory' doesn't work

Zdenek Wagner zdenek.wagner at gmail.com
Mon Jan 24 17:19:28 CET 2011


2011/1/24 Werner LEMBERG <wl at gnu.org>:
>>  > However, how can you explain the problem with relative paths?
>>
>> Does mf obey the variable openout_any in texmf.cnf?  That would
>> explain why you can't write to the parent directory (../).  But then
>> you shouldn't be able to specify absolute paths either.
>
> Aah.  I'm directly using the SVN repository; its texmf.cnf file has
>
>  openout_any=p
>
The same seems to be default on TL2010.

> which disables parent directories.  The comment says
>
>  % p (paranoid)   : as `r' and disallow going to parent directories, and
>  %                  restrict absolute paths to be under $TEXMFOUTPUT.
>
> but
>
>  kpsewhich --expand-var='$TEXMFOUTPUT'
>
> expands to `$TEXMFOUTPUT', so I suspect that this (intentionally?)
> enables absolute paths.
>
In 2010/texmf/web2c/texmf.cnf TEXMFOUTPUT is not defined. I have set
it to /tmp in my 2010/texmf.cnf:

kpsewhich -var-value TEXMFOUTPUT
/tmp

Even after that I can still write to the parent directory!
>
>    Werner
>



-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz



More information about the tex-live mailing list