[texhax] where to put .sty files?
Pierre MacKay
mackay at cs.washington.edu
Sat Sep 25 05:06:36 CEST 2004
I still think that the discipline of putting /usr and /usr/local on separate partitions
and making /usr read-only is a winner all around. If you do it that way the modifications
to texmf.cnf are trivial
E. g.:
1,2c1
< % HTG texmf.cnf -- runtime path configuration file for kpathsea.
< % TO supercede /usr/share/texmf/web2c/texmf.cnf through use of $SELFAUTO
---
> % original texmf.cnf -- runtime path configuration file for kpathsea.
62c61
< TEXMFLOCAL = /opt/local/texmf
---
> TEXMFLOCAL = /usr/local/share/texmf
89c88
< VARTEXFONTS = /var/opt/texmf
---
> VARTEXFONTS = /var/lib/texmf
267,268d265
< %%% I also use a link from /opt/local/texmf/fonts to /fonts, but that
< %%% is only for programming convenience
286,287c283
< TEXCONFIG = .;$VARTEXFONTS/dvips//;$TEXMF/dvips//
< % Had to add the $VARTEXFONTS 21/07/04 PAM
---
> TEXCONFIG = .;$TEXMF/dvips//
Moreover, I would maintain that the benefits of making /usr a read-only
partition are too numerous to list. It should be one of the first steps
in securing against invasion from crackers.
Pierre MacKay
More information about the texhax
mailing list