[texhax] where to put .sty files?
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
< % 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.
< TEXMFLOCAL = /opt/local/texmf
> TEXMFLOCAL = /usr/local/share/texmf
< VARTEXFONTS = /var/opt/texmf
> VARTEXFONTS = /var/lib/texmf
< %%% I also use a link from /opt/local/texmf/fonts to /fonts, but that
< %%% is only for programming convenience
< 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.
More information about the texhax