I plan to launch online LuaTeX compile service.
I installed LuaTeX using TexLive 2015 in CentOS 7.
For security concerns, I want to restrict opening files.
Therefore, I set openin_any=p.
But, it also restricts opening template files installed in texmf-dist.
Other compilers can read template files.
I tried to compile this file:
\documentclass{ltjsarticle}
\usepackage{graphicx}
\title{title}
\author{auth}
\date{\today}
\begin{document}
\maketitle
\section{section}
This is sample.
\end{document}
I compiled this file by lualatex sample.tex and got a message as follow:
This is LuaTeX, Version beta-0.80.0 (TeX Live 2015) (rev 5238)
restricted \write18 enabled.
(./sample.tex
LaTeX2e <2016/02/01>
Babel <3.9o> and hyphenation patterns for 1 language(s) loaded.
lualatex: Not reading from /usr/local/texlive/2015/texmf-dist/tex/luatex/luatexja/ltjsarticle.cls (openin_any = p).
! LaTeX Error: File `ltjsarticle.cls' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: cls)
How can I fix it?
texmf.cnfand setopenin_any = p. – garasubo Feb 13 '16 at 02:52TEXMFMAINis to be allowed. Otherwise the engine is completely useless. – egreg Feb 13 '16 at 09:47openin_any = r. I reported this problem to the bug tracker. http://tracker.luatex.org/view.php?id=963 – garasubo Feb 14 '16 at 10:03