On 6/17/2016 3:39 PM, Pavneet Arora wrote:
That is really the crux of the issue, since www-data does *not* have a login shell. It is used only by apache.
Can setuptex be made to point to the home directory explicitly where the website is housed, e.g., '/home/wwwuser' with user 'wwwuser'?
On 17Jun16, luigi scarso wrote:
Is texmf-cache writable by www-data ? When logged as www-data, the cache writable should be the /home/www-data/luatex-cache/<..> folder, while the standard one is used as readonly folder
Just make a test: in www-data home # . /opt/context/tex/setuptex /opt/context/tex then make a simple "Hello world" test.tex and read the log.
you can try /pathtomtxrun/mtxrun --tree=/home/tex context .... Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------