[tex-live] installation errors with the current snapshot

Tigran Aivazian tigran at aivazian.fsnet.co.uk
Sun Jul 4 13:43:36 CEST 2004


On Sun, 4 Jul 2004, Tigran Aivazian wrote:
> 1.  ./install-tl.sh: line 123: /home/tl/TeX/texmf-var/web2c/updmap.cfg: Permission denied

this is a trivial error, the code is doing:

(cd $CDDIR/texmf-var; tar cf - . ) | ( cd $TEXDIR/texmf-var; tar xf - )
cat > $VARTEXMF/web2c/updmap.cfg <<OAF

but the original copy on the CD, i.e. $CDDIR/texmf-var/web2c/updmap.cfg 
has 0444 permission so obviously the shell cannot open it for writing 
because bash tries to open it like this:

[pid  4147] open("new", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = -1 EACCES (Permission denied)
[pid  4147] open("new", O_WRONLY|O_TRUNC|O_LARGEFILE) = -1 EACCES (Permission denied)

The solution is to do chmod 0644 $VARTEXMF/web2c/updmap.cfg before cat'ing 
to it. Or, even better, store the file with 0644 mode when the CD is being 
generated, this way one saves a bit of time during installation by not 
doing an extra chmod.

Kind regards
Tigran



More information about the tex-live mailing list