Hi Camm, thanks for your investigation.
On Tue, 15 Sep 2015 12:52:02 -0400, Camm Maguire wrote:
> Looking at these, it appears that some command in maximalocal.mac is
> directing a lookup in a home directory of /root when run as user
> www-data. I can't find this file anywhere. If you can send me a copy,
> I'll take a look. Please note that the underlying gcl uses an algorithm
Okay, the file seems to be of Stack and I can find it
so I attatch it. Thanks again.
Best regards, 2015-9-16(Wed)
--
**************************
Atsuhito Kohda
Dep. Math., Tokushima Univ.
atsuhito_k AT tokushima-u.ac.jp
/* ***********************************************************************/
/* This file is automatically generated at installation time. */
/* The purpose is to transfer configuration settings to Maxima. */
/* Hence, you should not edit this file. Edit your configuration. */
/* This file is regularly overwritten, so your changes will be lost. */
/* ***********************************************************************/
/* File generated on July 6, 2015, 4:00 pm */
/* Add the location to Maxima's search path */
file_search_maxima:append(
[sconcat("/usr/share/moodle/question/type/stack/stack/maxima/###.{mac,mc}")] ,
file_search_maxima)$
file_search_lisp:append(
[sconcat("/usr/share/moodle/question/type/stack/stack/maxima/###.{lisp}")] ,
file_search_lisp)$
file_search_maxima:append( [sconcat("/var/lib/moodle/stack/logs/###.{mac,mc}")]
, file_search_maxima)$
file_search_lisp:append( [sconcat("/var/lib/moodle/stack/logs/###.{lisp}")] ,
file_search_lisp)$
STACK_SETUP(ex):=block(
MAXIMA_VERSION_NUM:36,
MAXIMA_PLATFORM:"unix",
maxima_tempdir:"/var/lib/moodle/stack/tmp/",
IMAGE_DIR:"/var/lib/moodle/stack/plots/",
PLOT_TERMINAL:"png",
PLOT_TERM_OPT:"large transparent size 450,300",
DEL_CMD:"rm",
GNUPLOT_CMD:"gnuplot",
MAXIMA_VERSION:"5.36.0",
URL_BASE:"!ploturl!",
true)$
/* Load the main libraries */
load("stackmaxima.mac")$