tlmgr update texhash

Zdenek Wagner zdenek.wagner at
Mon Mar 27 00:22:14 CEST 2023

Hi all,

I can describe kow it happened a few years ago to me. As recommended,
I created /usr/local/texlive and changed ownership to me as a normal
user with permissions 0755. Afterwards I installed TL as me, thus all
files were owned be me and writable by me. After some time just by
mistake I ran mktexlsr as root. It changed ownership of all ls-R files
to root with permissions 0664 but ownership and permissions of
directories and all remaining files remained unchanged. That's the
whole story. I suspect a similar scenario.

Zdeněk Wagner

ne 26. 3. 2023 v 21:15 odesílatel Karl Berry <karl at> napsal:
> Hi Martin - yes, it's a deficiency that the warnings from mktexlsr (aka
> texhash; makes no difference which is used) were not shown. (They're
> written to the log file, but admittedly no one is likely to look there.)
> We can fix that. But meanwhile, I have a separate question for you:
> It seems strange that the ls-R file is (apparently) intentionally
> unwritable, but the directories into which new packages are installed
> are (apparently) writable.
> Can you describe the situation you're actually trying to support with
> that setup?
> Thanks,
> Karl

More information about the tex-live mailing list.