[tex-live] Status of restricted \write18 and epstopdf conversion

Akira Kakuto kakuto at fuk.kindai.ac.jp
Mon Oct 19 18:47:58 CEST 2009


Akira Kakuto wrote:

> Alexander Cherepanov wrote:
> 
> > Please take a look at the screen output -- it shows "Pwned" twice.
> 
> Very strange!
> I cannot reproduce your result.
> Here all three lines are
> !!! Error: Unknown option or too many input files
> without printing "Pwned".
> 
> I'll investigate the problem.

I've found the reason.
I'm not using texlua as a wrapper of repstopdf etc., while TeX Live
uses texlua.  texlua can set shellenabledp independently of
texmf.cnf. I have found that luatex
set shell escape enabled in texlua mode. The source is

    if (lua_only)
        shellenabledp = true;

in luainit.c.
Therefore in all commands called by TeX Live wrappers,
shell escape is fully allowed!!

Best,
Akira



More information about the tex-live mailing list