[tlu] [ TeX Live Utility 2019 ] file sytem permission issue
Bruno Voisin
bvoisin at icloud.com
Wed May 8 10:39:08 CEST 2019
> Le 8 mai 2019 à 08:49, Simon Kramer <simon.kramer at bluewin.ch> a écrit :
>
> I've migrated from TeX Live 2018 to TeX Live 2019, and
> have observed the following (mis)behaviour of the system:
>
> (1) after installing TeX Live 2019, compilation works :-)
>
> (2) but then, after updating TeX Live 2019 with TeX Live Utility 2019,
> compilation breaks, namely because of the permissions on
>
> (2.1) /usr/local/texlive/2019/texmf-dist/tex/latex/l3packages
> (2.2) /usr/local/texlive/2019/texmf-dist/tex/latex/l3kernel
>
> (3) then, after executing
>
> (3.1) sudo chmod -RL 775 l3packages
> (3.1) sudo chmod -RL 775 l3kernel
>
> in /usr/local/texlive/2019/texmf-dist/tex/latex ,
> compilation works again.
>
> Of course, it is not impossible that compilation of other sources also breaks,
> because of permission issues on other TeX Live 2019 files/directories.
I don't understand. My setup is MacTeX-2019 installed at pretest time from the monolithic .pkg installer (ie not the TeX Live Unix install script), then updated via TeX Live Utility, including this morning from the standard repository <http://mirror.ctan.org/systems/texlive/tlnet>.
Compilation works fine. I just tried with a file calling fontspec and unicode-math, hence packages from l3packages: compilation proceeds perfectly with both XeTeX and LuaTeX.
I had to google to figure out what 775 permissions mean. The directories on my setup have 755:
drwxr-xr-x 3 root wheel 96 2 mar 19:08 l3build
drwxr-xr-x 10 root wheel 320 6 mai 15:41 l3experimental
drwxr-xr-x 13 root wheel 416 8 mai 09:47 l3kernel
drwxr-xr-x 7 root wheel 224 6 mai 15:41 l3packages
and further
l3build:
total 16
-rw-r--r-- 1 root wheel 5260 25 oct 2018 regression-test.tex
l3experimental:
total 0
drwxr-xr-x 3 root wheel 96 6 mai 15:41 l3benchmark
drwxr-xr-x 3 root wheel 96 6 mai 15:41 l3cctab
drwxr-xr-x 3 root wheel 96 6 mai 15:41 l3color
drwxr-xr-x 3 root wheel 96 6 mai 15:41 l3draw
drwxr-xr-x 26 root wheel 832 6 mai 15:41 l3str
drwxr-xr-x 3 root wheel 96 6 mai 15:41 l3sys-shell
drwxr-xr-x 3 root wheel 96 6 mai 15:41 xcoffins
drwxr-xr-x 4 root wheel 128 6 mai 15:41 xgalley
l3kernel:
total 2392
-rw-r--r-- 1 root wheel 991026 6 mai 23:05 expl3-code.tex
-rw-r--r-- 1 root wheel 2882 6 mai 23:05 expl3-generic.tex
-rw-r--r-- 1 root wheel 3868 3 mai 00:51 expl3.lua
-rw-r--r-- 1 root wheel 9894 6 mai 23:05 expl3.sty
-rw-r--r-- 1 root wheel 76937 5 mar 23:35 l3doc.cls
-rw-r--r-- 1 root wheel 2400 28 jan 23:07 l3docstrip.tex
-rw-r--r-- 1 root wheel 20583 6 mai 23:05 l3dvipdfmx.def
-rw-r--r-- 1 root wheel 37442 6 mai 23:05 l3dvips.def
-rw-r--r-- 1 root wheel 15331 4 mai 00:30 l3dvisvgm.def
-rw-r--r-- 1 root wheel 21611 6 mai 23:05 l3pdfmode.def
-rw-r--r-- 1 root wheel 22242 6 mai 23:05 l3xdvipdfmx.def
l3packages:
total 0
drwxr-xr-x 3 root wheel 96 6 mai 15:41 l3keys2e
drwxr-xr-x 3 root wheel 96 6 mai 15:41 xfp
drwxr-xr-x 3 root wheel 96 6 mai 15:41 xfrac
drwxr-xr-x 3 root wheel 96 6 mai 15:41 xparse
drwxr-xr-x 3 root wheel 96 6 mai 15:41 xtemplate
This all seems OK.
> So, a general check of the file system permissions applied by
> TeX Live Utility 2019 does not seem entirely unreasonable.
I don't know what may have happened on your setup. Corrupted data at the repository your updates were downloaded from?
The way I think this works is that TLU calls tlmgr which downloads the updates from
http://mirror.ctan.org/systems/texlive/tlnet/archive/
(or whichever mirror you selected or was picked by the multiplexer). These are in .tar.xz format, then tlmgr calls either /usr/local/texlive/2019/tlpkg/installer/xz/xz.x86_64-darwin or a locally installed xz if you have one, to unpack the archive.
I don't know what went wrong there. I assume the permissions are stored in the archive along with the files themselves: the xz man page is not in texlive, but <https://linux.die.net/man/1/xz> seems to say the permissions are stored indeed.
I don't think that may matter, but did you install MacTeX-2019 using the monolithic install package
http://tug.org/mactex/mactex-download.html
or the online install script
http://tug.org/mactex/mactex-unix-download.html
Bruno Voisin
More information about the tlu
mailing list