[tex-live] mktexlsr and file owner

Arne Jørgensen arne.jorgensen at tug.dk
Mon Sep 19 23:33:31 CEST 2005


Hi,

I often do a

  sudo mktexlsr

with the side effect that my ~/texmf/ls-R is now owned by root instead
of my own user.

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)?

It could be handy outside of the home directories too I guess.

Attached is a patch to show how it could be done.

Kind regards

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mktexlsr.patch
Type: text/x-patch
Size: 464 bytes
Desc: not available
Url : http://tug.org/pipermail/tex-live/attachments/20050919/27f020dd/mktexlsr.bin


More information about the tex-live mailing list