|It sounds like environment variables may be an issue - they certainly influence where tex will look for files.
When you say that the web server runs as root (which sounds dangerous)
but that it hasn't always been that way, did it change around the time
latex stopped working?
So, if you login as root, then latex runs fine, right? Then,
while still logged in as root, see how environment variables are
set. Under csh, the command printenv should do it. Under bash, just set will list them. To select things which might be related to TeX, I would use (under bash), set | grep -i tex .
The next step might be to see what this looks like from the web
server. I would insert a system command to do the same, but pipe
its output to a file (e.g., system('set | grep -i tex >> /tmp/WW-envir'))
somewhere in webwork, trigger it, and then look at the result (and then
take the extra statement out). There are probably smoother ways
to check this.
<| Post or View Comments |>