[tex-live] mktexlsr and directory permissions

Norbert Preining preining at logic.at
Tue Sep 27 17:21:57 CEST 2005


Hi Thomas!

I just found out that mktexlsr in version 1.46 (as in TeX live) has a
new `feature' which makes me a bit unhappy: If the directory where the
ls-R file is located is not actually writeable, the ls-R will not be
updated, *EVEN* if the ls-R file is indeed writeable!

Now in the debian tetex packages this is no problem, as there is still
1.45 of mktexlsr, but in the texlive packages we got a problem:

We (Frank and me) would like to give the option that a certain group is
allowed to create/update ls-R files, eg in /var/cache/fonts or
/usr/local/share/texmf. But users are not allowed to write to
/var/cache/fonts, only to /var/cache/fonts/{pk,tfm,mf}, so with this
change the update of ls-R files is broken.

Is there a chance that this will be reverted, or is there a deeper
reason why the temporary ls-R file is not anymore generated with
	db_file_tmp=`tempfile -p ls-R`
but with
	db_dir_tmp="$db_dir/lsR$$.tmp"
?

Thanks a lot and all the best

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining AT logic DOT at>             Università di Siena
sip:preining at at43.tuwien.ac.at                             +43 (0) 59966-690018
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
SLOGARIE (n.)
Hillwalking dialect for the seven miles of concealed rough moorland
which lie between what you though was the top of the hill and what
actually is.
			--- Douglas Adams, The Meaning of Liff



More information about the tex-live mailing list