[tex-live] Re: mktexlsr and file owner

Arne Jørgensen arne.jorgensen at tug.dk
Tue Sep 20 23:53:13 CEST 2005


Thomas Esser <te at dbs.uni-hannover.de> writes:

>>   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.

OK. (I had feeling that would be why)

> 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

I didn't know the -H option. I'll try to remember it (it's probably
useful in other situations as well.

Thanks

        /arne
-- 
Arne Jørgensen <http://arnested.dk>
DK-TUG / Danish TeX Users Group <http://www.tug.dk/>



More information about the tex-live mailing list