On 05/07/2011 02:49 PM, S Barmeier wrote:
Hi,
After updating my system to ubuntu 11.04, all sorts of access permissions seem to have changed. In particular, when compiling any ConTeXt document, I get
oad otf> loading: /usr/local/texlive/2010/texmf-dist/fonts/opentype/public/lm/lmmono8-regular.otf (hash: lmmono8-regular) load otf> font loaded okay load otf> file size: 66268 load otf> enhancing ... load otf> saving in cache: /usr/local/texlive/2010/texmf-dist/fonts/opentype/public/lm/lmmono8-regular.otf report | lua: compiling /usr/local/texlive/2010/texmf-cache/luatex-cache/context/7625073666844883aa0723352de861b9/fonts/otf/lmmono8-regular.tma into /usr/local/texlive/2010/texmf-cache/luatex-cache/context/7625073666844883aa0723352de861b9/fonts/otf/lmmono8-regular.tmctexluac: cannot open /usr/local/texlive/2010/texmf-cache/luatex-cache/context/7625073666844883aa0723352de861b9/fonts/otf/lmmono8-regular.tma: No such file or directory luac: cannot open /usr/local/texlive/2010/texmf-cache/luatex-cache/context/7625073666844883aa0723352de861b9/fonts/otf/lmmono8-regular.tma: No such file or directory
Trying to mtxrun --script fonts --reload, it tells me
MTXrun | resolvers: unable to save 'files' in '/usr/local/texlive/2010/texmf-cache/luatex-cache/context/7625073666844883aa0723352de861b9/trees/1240e363db2f4c53de58379d2b0c6f6b.lua' (access error) MTXrun | fontnames: unable to access database cache MTXrun | fontnames: accessing the data table failed
and similar errors. I've tried sudo mtxrun [...], but then the command is not found.
I hope the problem will be resolved by changing folder permissions, but I'm not sure which folders are affected and which I should refrain from changing.
You can change permissions of /usr/local/texlive/2010/texmf-cache/luatex-cache/context and everything below it, but a nicer solution is to set TEXMFCACHE. There are various options, but the easiest is set TEXMFCACHE=~/texmf-cache in your shell's startup script (you have to create the path manually at first). Best wishes, Taco