[tex-live] mktexlsr and file owner

Thomas Esser te at dbs.uni-hannover.de
Tue Sep 20 17:02:53 CEST 2005


>   sudo mktexlsr
...
> Is there a reason to not update the user id and group id of the ls-R
> files to their original values (when running mktexlsr as root)?

This is hard to implement in a portable way. I think that neither
"id -u" nor "stat" is portable enough.

>From the view of mktexlsr, the userid and home directories do not match;
which causes the problem that you are running into.

You can easily do it better by using
  sudo -H mktexlsr
to update the global ls-R files and
  mktexlsr
just to update your own file.

Thomas



More information about the tex-live mailing list