running as apache user does not work, why?

mario chiari ml at mariochiari.net
Thu Aug 15 20:46:25 CEST 2019


Hi

I try to run the following from terminal:

>  sudo -u apache  /usr/local/texlive/2019/bin/x86_64-linux/pdflatex  myFile.tex

I get the following error

>>>
LaTeX Font Warning: Font shape `T2A/wncyr/m/n' undefined
(Font)              using `T2A/cmr/m/n' instead on input line 3.


kpathsea: Running mktextfm larm1000
/usr/share/texlive/texmf-dist/web2c/mktexnam: Could not map source
abbreviation  for larm1000.
/usr/share/texlive/texmf-dist/web2c/mktexnam: Need to update ?
mkdir: cannot create directory ‘././usr/share/httpd/.texlive2018’: Permission
denied
mktextfm: mktexdir /usr/share/httpd/.texlive2018/texmf-
var/fonts/tfm/unknown/unknown failed.
kpathsea: Appending font creation commands to missfont.log.
! Font T2A/cmr/m/n/10=larm1000 at 10.0pt not loadable: Metric (TFM) file not fo
und.
<<<

Is kpathsea trying to call /usr/share/texlive/.../ instead of
/usr/local/texlive/2019/.../? Why?
I do not understand why it tries to write into  ‘././usr/share/httpd/; also
why .texlive2018  instead of .texlive2019? 


Everything works fine if I run it as root (I am on a Fedora 29 machine).
Help is welcome

thanks cheers
mario 


ps this is an old issue of mine, with a new  glitch.  



More information about the tex-live mailing list