[tex-live] strange changing permissions

George N. White III gnwiii at gmail.com
Mon Apr 12 17:23:22 CEST 2010

On Thu, Mar 18, 2010 at 8:38 AM, Victor Ivrii <vivrii at gmail.com> wrote:

> On one of computers I run texlive maintenance not as a root but as a
> special user "texlive" and I noticed that if tlmgr runs
> running updmap-sys ...
> done running updmap-sys.
> then ordinary users are getting errors

Today I discovered that installing gnuplot-4.4.0 as "root", e.g.
"sudo make install" does:
test -z "/usr/local/usr//usr/local/texlive/2009/../texmf-local/tex/latex/gnuplot"
|| /opt/local/bin/gmkdir -p
 /usr/bin/install -c -m 644 gnuplot.cfg gnuplot-lua-tikz.sty
make  install-data-hook
test -n "" || texhash
texhash: Updating /usr/local/texlive/2009/../texmf-local/ls-R...
texhash: Updating /usr/local/texlive/2009/texmf/ls-R...
texhash: Updating /usr/local/texlive/2009/texmf-config/ls-R...
texhash: Updating /usr/local/texlive/2009/texmf-dist/ls-R...
texhash: Updating /usr/local/texlive/2009/texmf-var/ls-R...
texhash: Done.

so the ls-R ownership gets changed to root.   What other packages do this?

> % pdflatex TT2010SA.tex
> /usr/local/texlive/2009/texmf/web2c/texmf.cnf: Permission denied
> This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009)
> kpathsea: Running mktexfmt pdflatex.fmt
> /usr/local/texlive/2009/texmf/web2c/texmf.cnf: Permission denied
> /usr/local/texlive/2009/bin/x86_64-linux/mktexfmt: line 362:
> /texconfig/tcfmgr: No such file or directory
> fmtutil: config file `fmtutil.cnf' not found.
> I can't find the format file `pdflatex.fmt'!
> If I as "texlive" change reading permissions it goes back to normal.
> If "texlive" runs updmap-sys then no such behavior. Also on comuters
> where I run tlmgr as a root such behavior is not observed
> umask of all directories there is 77
> It is a bit of annoyance to remember to change permissions
> Victor
> --
> ========================
> Victor Ivrii, Professor, Department of Mathematics, University of Toronto
> http://www.math.toronto.edu/ivrii

George N. White III <aa056 at chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia

More information about the tex-live mailing list