[tex-live] mtxrun should write user luatex-cache to a user directory

Taco Hoekwater taco at elvenkind.com
Mon Aug 1 14:43:36 CEST 2011

On 08/01/2011 02:35 PM, Vladimir Lomov wrote:

> but I was surprised when I run
> user $ OSFONTDIR="/usr/share/fonts//" mtxrun --generate
> that cache goes to TXMFSYSVAR but not in mine TEXMFVAR.
> Actually I consider this as a bug, because if TEXMFSYSVAR
> is writable then when any user run 'mtxrun --generate' the would be only
> _one_ cache for _all_ users (imagine two users on the system, one has
> commercial font other is not).

As long as the users are not allowed to write TEXMFSYSVAR, that will
work just fine.

> When installer is run it should use, of course, TEXMFSYSVAR. Right now I
> don't have any pretty solution (only temporary: swap variables before
> run mtxrun then back).

I do not get it: you have write access to TEXMFSYSVAR, so you (for all 
intents) actually are the administrator / system maintainer. How is that
any different from the installer usage, from a program's point of view?

In other words: if you do not want normal users' programs to put stuff
in TEXMFSYSVAR, why do you allow write access to TEXMFSYSVAR to normal
users?  That is a contradiction that to me sounds like a configuration

Best wishes,

More information about the tex-live mailing list