Subject: | problem with non-sensible tmpdir value: mkdir /tmp//usr/home/smokebot: Permission denied |
I'll volunteer to look at this one myself, but want to describe it here.
I'm working on running Smolder as a CGI script through an existing
Apache install.
Smolder is failing to load due the following error chain. The critical
bit is this:
mkdir /tmp//usr/home/smokebot: Permission denied
So for some reason, a non-sensible tmpdir value is being constructed.
The follow stack trace is below:
###
[Dispatch] ERROR for request '/app': Unable to load module
'Smolder::Control::Public': Smolder::DB::Project can't load
Smolder::DB::SmokeReport: mkdir /tmp//usr/home/smokebot: Permission
denied at /usr/home/smokebot/www/cgi-bin/../../lib/perl5/i386-freebsd-
64int/Template/Provider.pm line 388
Compilation failed in require at /usr/home/smokebot/www/cgi-
bin/../../lib/perl5/Smolder/DB/SmokeReport.pm line 6.
BEGIN failed--compilation aborted at /usr/home/smokebot/www/cgi-
bin/../../lib/perl5/Smolder/DB/SmokeReport.pm line 6.
Compilation failed in require at /usr/home/smokebot/www/cgi-
bin/../../lib/perl5/Class/DBI.pm line 1223. at
/usr/home/smokebot/www/cgi-
bin/../../lib/perl5/Class/DBI/Relationship/HasMany.pm line 26
Compilation failed in require at /usr/home/smokebot/www/cgi-
bin/../../lib/perl5/Smolder/DB/Developer.pm line 6.
BEGIN failed--compilation aborted at /usr/home/smokebot/www/cgi-
bin/../../lib/perl5/Smolder/DB/Developer.pm line 6.
Compilation failed in require at /usr/home/smokebot/www/cgi-
bin/../../lib/perl5/Smolder/Control.pm line 17.
BEGIN failed--compilation aborted at /usr/home/smokebot/www/cgi-
bin/../../lib/perl5/Smolder/Control.pm line 17.
Compilation failed in require at (eval 26) line 3.
...propagated at /usr/local/lib/perl5/5.8.8/base.pm line 85.
BEGIN failed--compilation aborted at /usr/home/smokebot/www/cgi-
bin/../../lib/perl5/Smolder/Control/Public.pm line 3.
Compilation failed in require at (eval 25) line 3.