![](https://secure.gravatar.com/avatar/38e7c7f5db6207659c7c302ed8fe4d37.jpg?s=120&d=mm&r=g)
Unfortunately, while the mtxrun command works for a shell user:
$ mtxrun -script base --variables | grep cache
resolvers | lists | env: $SELFAUTOPARENT/texmf-cache
resolvers | lists | var: $SELFAUTOPARENT/texmf-cache
resolvers | lists | exp: /opt/context/tex/texmf-cache
resolvers | lists | res: /opt/context/tex/texmf-cache
the result is the same for www-data:
$ sudo -u www-data bash -c ". /opt/context/tex/setuptex /opt/context/tex; mtxrun --script base --variables | grep cache"
resolvers | caches | fatal error: there is no valid writable cache path defined
I have to think that setuptex isn't able to set up the runtime
environment for www-data, somehow?
On Fri, Jun 17, 2016 at 2:25 PM, Pavneet Arora
That is what I suspect as well. How do I find out which cache path is being used?
Thanks.
$ mtxrun --script base --variables |grep cache -- Pavneet Arora m: +1 (647) 406-6843 Waroc Informatik t: +1 (416) 937-9276