[tlu] [ TeX Live Utility 2019 ] file sytem permission issue

Bruno Voisin bvoisin at icloud.com
Fri May 10 13:27:39 CEST 2019


> Le 10 mai 2019 à 09:43, Simon Kramer <simon.kramer at bluewin.ch> a écrit :
> 
> 			/usr/local/texlive/2019/texmf-dist/tex/latex/l3packages$ls -la
> 
> 			total 0
> 			drwxrwxr-x 7 root wheel 224 May 8 08:15 .
> 			drwxrwxr-x 2574 root wheel 82368 May 10 09:10 ..
> 			drwxrwxr-x 3 root wheel 96 May 10 09:10 l3keys2e
> 			drwxrwxr-x 3 root wheel 96 May 10 09:10 xfp
> 			drwxrwxr-x 3 root wheel 96 May 10 09:10 xfrac
> 			drwxrwxr-x 3 root wheel 96 May 10 09:10 xparse
> 			drwxrwxr-x 3 root wheel 96 May 10 09:10 xtemplate

That's not standard. Here's what I get:

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

The added write permission for group might come from your "chmod -RL 775 l3packages" earlier

> 			/usr/local/texlive/2019/texmf-dist/tex/latex/l3kernel$ls -la
> 			total 2392
> 			drwxrwxr-x    13 root  wheel     416 May 10 09:10 .
> 			drwxrwxr-x  2574 root  wheel   82368 May 10 09:10 ..
> 			-rw-r--r--     1 root  wheel  991574 May  7 21:54 expl3-code.tex
> 			-rw-r--r--     1 root  wheel    2882 May  7 21:54 expl3-generic.tex
> 			-rw-r--r--     1 root  wheel    3868 May  3 00:51 expl3.lua
> 			-rw-r--r--     1 root  wheel    9894 May  7 21:54 expl3.sty
> 			-rw-r--r--     1 root  wheel   76937 Mar  5 23:35 l3doc.cls
> 			-rw-r--r--     1 root  wheel    2400 Jan 28 23:07 l3docstrip.tex
> 			-rw-r--r--     1 root  wheel   20263 May  7 21:54 l3dvipdfmx.def
> 			-rw-r--r--     1 root  wheel   37276 May  7 21:54 l3dvips.def
> 			-rw-r--r--     1 root  wheel   15200 May  7 21:54 l3dvisvgm.def
> 			-rw-r--r--     1 root  wheel   21257 May  7 21:54 l3pdfmode.def
> 			-rw-r--r--     1 root  wheel   21922 May  7 21:54 l3xdvipdfmx.def

Same here, this is standard:

-rw-r--r--  1 root  wheel  991574  7 mai 21:54 expl3-code.tex
-rw-r--r--  1 root  wheel    2882  7 mai 21:54 expl3-generic.tex
-rw-r--r--  1 root  wheel    3868  3 mai 00:51 expl3.lua
-rw-r--r--  1 root  wheel    9894  7 mai 21:54 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   20263  7 mai 21:54 l3dvipdfmx.def
-rw-r--r--  1 root  wheel   37276  7 mai 21:54 l3dvips.def
-rw-r--r--  1 root  wheel   15200  7 mai 21:54 l3dvisvgm.def
-rw-r--r--  1 root  wheel   21257  7 mai 21:54 l3pdfmode.def
-rw-r--r--  1 root  wheel   21922  7 mai 21:54 l3xdvipdfmx.def

> 		/usr/local/texlive/2019/texmf-dist/tex/latex$ls -la
> 
> 			Please see the attached text file.
> 			(The permissions are not uniform.)

Something's wrong on your setup: there are package directories, starting from acmart, which are not visible by group or other, I imagine as a consequence of your umask 0077 below. Attached is the output on a standard setup.

>> Have you modified your umask globally by editing a systems file?
> 
> 	only my own (user's) .bash_profile, that is, with "umask 0077"

I don't speak octal, but based on wikipedia this seems to mean

u=rwx,go= for directories
u=rw, go= for files

right?

> TLU should have given you a warning in that case.
> 
> 	I have received no such warning.
> 
>> What is the output of
>> 
>> defaults read com.googlecode.mactlmgr.tlu TLMDisableUmaskWarningKey
>> 
>> in Terminal?
> 
> 	1

Assuming 1 = TRUE here, this would mean you have disabled at some point TLU's umask checking mechanism.


All the above said, while looking on my list archives to find out where this apparently hidden TLMDisableUmaskWarningKey pref is documented (I couldn't find it in TLU's help or GUI), I realized all those umask issues have been discussed on the list several times already, for example

https://tug.org/mailman/private/tlu/2018-December/000335.html
https://tug.org/mailman/private/tlu/2013-October/000043.html (and the associated thread)

I had forgotten all about that!

The second link, in particular, shows the kind of warning you should have got if TLMDisableUmaskWarningKey were set to its default value 0 = FALSE.

There have also been reports (on the invitation-only mactex list) of tlmgr update problems (tlmgr being the TLU Unix backend) because a user-set umask ended up making tlmgr's update database /usr/local/texlive/<year>/tlpkg/texlive.tlpdb database unreadable.


Bruno


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: latex-standard-permissions.txt
URL: <https://tug.org/mailman/private/tlu/attachments/20190510/b5a39567/attachment-0001.txt>


More information about the tlu mailing list