Item9233: initial configure 'system temporary dir' checker lies to the user
Current State: Confirmed
Released In: n/a
Target Release: minor
this is probably related to Item9232
on windows (strawberry, win2003), File::Spec fails to find a TMP setting, and so File::Tmp etc goto '/', resulting in an error message of :
System temporary directory
Error: Cannot create a file in '\' (Invalid argument) - check the directory exists, and that permissions are correct, and the filesystem is not full.
then after you save your initial configure, it somewhere sets the Tmpdir to
System temporary directory C:\src\svn.foswiki.org\trunk\core\working
clearly, this again should be in a Configure::Value::Guesser :/
- 01 Jul 2010
Suspect this is more due to a decision (or a test) of the tmp dir being made in the basic canity checks, before it's really ready (or required). I don't have strawberry perl, and it works fine with my AS perl, but I trust you so marking as confirmed.
- 08 Jul 2010
There is also the semi-used undocumented
which is set by
Control of the temporary directory is partly implemented. Maybe this should go further and actually become configurable with a Checker routine to guess the default and verify the setting. It appears that File::Spec is not reliable in all settings.
For security purposes it is useful to assign the temp location to a file system marked noexec, so I'd prefer to have more control of where temp files are placed.
- 08 Jul 2010
Observed a similar error on an initial install of 1.1.3beta1 as well which was resolved after the initial save.
- 13 Mar 2011
Defer to 1.1.5
- 13 Dec 2011
Defer to 1.2
- 05 Apr 2012