Comment 9 for bug 1010909

Revision history for this message
Norbert Preining (preining) wrote : Re: [Bug 1010909] Re: permission denied: /usr/bin/{mktexpk,mktextfm}

Hi

On So, 13 Jan 2013, Reuben Thomas wrote:
> In short, the problem is that the apparmor profile for evince does not
> allow the font files to be written.

As Debian maintainer of the package I cannot comment on what Ubuntu is
doing specially here.

> Unfortunately, the algorithm used by the TeXLive scripts to decide where
> to write generated font files is complicated. For example, in my case,
> they seem to be written under
>
> $HOME/texmf/fonts

Which is strange and can only be explained by your local adaptions.
On my computer it still installs into $TEXMFVAR = ~/.texmf-var

The respective files are:
 /etc/texmf/web2c/mktex.cnf
which by default contains
 : ${MT_FEATURES=appendonlydir:texmfvar}
which means that fonts are created in $TEXMFVAR

> and there are other possibilities, I believe. Hence, finding a solution
> that is both secure and reliable requires input from a TeXpert.
>
> For the moment I have simply disabled Evince's apparmor profile.

That is Ubuntu's problem, since I don't have any idea what AppArmor
is doing or prohibiting or messing up.

Norbert

------------------------------------------------------------------------
PREINING, Norbert http://www.preining.info
JAIST, Japan TeX Live & Debian Developer
DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------