[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#358330: fmtutil-sys: use local user texmf.cnf when configuring system wide files



Vincent Danjean <Vincent.Danjean@ens-lyon.org> wrote:

> Here is now what I tested :
> root@atsina danjean# TEXMFVAR=/var/lib/texmf
> root@atsina danjean# TEXMFCONFIG=/etc/texmf
> root@atsina danjean# RUNNING_AS_SYS=true
> root@atsina danjean# export TEXMFVAR TEXMFCONFIG RUNNING_AS_SYS
> root@atsina danjean# kpsewhich '--expand-var=$VARTEXFONTS'
> /var/cache/fonts
> root@atsina danjean# export KPSE_DOT="/users/huron/danjean"
> root@atsina danjean# kpsewhich '--expand-var=$VARTEXFONTS'
> /users/huron/danjean/texmf.cnf: Permission denied
> /var/cache/fonts
>
> So the messages are due to the lines 560-565 of fmtutil:
>   thisdir=`pwd`
>
>   : ${KPSE_DOT=$thisdir}
>   export KPSE_DOT

Sorry, I cannot reproduce this here:

frank@riesling:~$ kpsewhich --format=cnf texmf.cnf
/usr/share/texmf/web2c/texmf.cnf
frank@riesling:~$ export KPSE_DOT=/home/frank/
frank@riesling:~$ kpsewhich --format=cnf texmf.cnf
/home/frank/uni/zuerich/Praktikum/auto/texmf.cnf: Permission denied
/home/frank/uni/zuerich/Praktikum/auto/texmf.cnf: Permission denied
/home/frank/uni/zuerich/Praktikum/auto/texmf.cnf: Permission denied
/home/frank/uni/zuerich/Praktikum/auto/texmf.cnf: Permission denied
/home/frank/uni/zuerich/Praktikum/auto/texmf.cnf: Permission denied
/home/frank/uni/zuerich/Praktikum/auto/texmf.cnf: Permission denied
/home/frank/uni/zuerich/Praktikum/auto/texmf.cnf: Permission denied
/home/frank/uni/zuerich/Praktikum/auto/texmf.cnf: Permission denied
/usr/share/texmf/web2c/texmf.cnf
frank@riesling:~$ 

Can you please repeat your test and run kpsewhich with a debug option:

kpsewhich --debug=126 '--expand-var=$VARTEXFONTS' 2>kpse.log

and send the kpse.log file.  And please also report the output of

kpsewhich --show-path=cnf

Regards, Frank

-- 
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX)




Reply to: