[Dev-luatex] openin_any = p in texmf.cnf

Reinhard Kotucha reinhard.kotucha at web.de
Fri Mar 9 23:14:29 CET 2018


excerpt from texmf.cnf:
-------------------------------------------------------------------------
  % Do we allow TeX \input or \openin (openin_any), or \openout
  % (openout_any) on filenames starting with `.' (e.g., .rhosts) or
  % outside the current tree (e.g., /etc/passwd)?
  % a (any)        : any file can be opened.
  % r (restricted) : disallow opening dot files
  % p (paranoid)   : as `r' and disallow going to parent directories, and
  %                  restrict absolute paths to be under $TEXMFOUTPUT.
  openin_any = a
-------------------------------------------------------------------------

Dear Sirs,
when I set

  openin_any = p

then fmtutil can't create any LuaTeX-based format files anymore:


  $ fmtutil --sys --all

  [...stuff omitted...]

  fmtutil [ERROR]: running `luatex -ini   -jobname=luatex -progname=luatex luatex.ini </dev/null' return status 1
  fmtutil [ERROR]: return error due to options --strict
  fmtutil [ERROR]: running `luajittex -ini   -jobname=luajittex -progname=luajittex luatex.ini </dev/null' return status 1
  fmtutil [ERROR]: return error due to options --strict
  fmtutil [ERROR]: running `luatex -ini   -jobname=lualatex -progname=lualatex lualatex.ini </dev/null' return status 1
  fmtutil [ERROR]: return error due to options --strict
  fmtutil [ERROR]: running `luatex -ini   -jobname=dvilualatex -progname=dvilualatex dvilualatex.ini </dev/null' return status 1
  fmtutil [ERROR]: return error due to options --strict
  fmtutil [ERROR]: running `luatex -ini   -jobname=pdfcsplain -progname=pdfcsplain -etex csplain.ini </dev/null' return status 1
  fmtutil [ERROR]: return error due to options --strict
  fmtutil [ERROR]: running `luatex -ini   -jobname=dviluatex -progname=dviluatex dviluatex.ini </dev/null' return status 1
  fmtutil [ERROR]: return error due to options --strict


Only LuaTeX-based formats are concerned, all other format files are
built successfully.

Everything works as expected with

  openin_any = a

and 

  openin_any = r

I'm using the latest stuff in tlpretest.


Regards,
  Reinhard

-- 
------------------------------------------------------------------
Reinhard Kotucha                            Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                    mailto:reinhard.kotucha at web.de
------------------------------------------------------------------


More information about the dev-luatex mailing list