Philip Taylor (Webmaster)
P.Taylor at Rhul.Ac.Uk
Tue Feb 26 19:23:48 CET 2008
OK, but isn't this answering the non-question
rather than the question ?! In other words,
you have told me (and others) how TeX Live
allows TeX to forbid certain file paths,
without clarifying how Steve (or others)
can be sure that TeX will open /their/
MyTeXlib[.tex] rather than just the first
file of that name found in TeX's search path ...
Zdenek Wagner wrote:
> Sometimes by modifying texmf.cnf. This is part of my texmf.cnf in TL2007:
> % Allow TeX \openin, \openout, or \input 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 "dotfiles".
> % p (paranoid) : as 'r' and disallow going to parent directories, and
> % restrict absolute paths to be under $TEXMFOUTPUT.
> openout_any = p
> openin_any = a
More information about the tex-live