Question
Hi,
I am new to Twiki, during installation I looked the bin/testenv page it had couple of warnings like "Security issue: This directory should not be writable by the system user" ,
reading previous questions from the group i realized that this is not a major problem.
But when i click on get started i get the following error.
Software error:
Insecure directory in $ENV{PATH} while running with -T switch at ../lib/TWiki/Search.pm line 290.
The log file in apache says
c:\twiki\bin\view: Insecure directory in $ENV{PATH} while running with -T switch at ../lib/TWiki/Search.pm line 290.
I dont know what this means
Thanks
Balaji
Environment
| TWiki version: |
Feb 2003 |
| TWiki plugins: |
|
| Server OS: |
Windows 2000 |
| Web server: |
Apache 1.3.28(Win32) |
| Perl version: |
5.6.1 |
| Client OS: |
Windows 2000 |
| Web Browser: |
IE 5.5 |
--
BalajiRajagopalan 10 Sep 2003
Answer
Hi Balaji, thanks for the error log output.
Please provide the information requested in
SupportGuidelines, particularly testenv output and TWiki.cfg file. This may be a problem with your
$safeEnvPath setting in TWiki.cfg, or permissions, and is due to Perl's
TaintChecking - run
perldoc perlsec to read more about this.
InsecureDirectory,
AnotherInsecureDirectory and
InsecureDirectoryinENVPATH are all quite similar, so you may want to try the permissions fixes mentioned in there.
--
RichardDonkin - 10 Sep 2003
I had exactly the same problems as Balaji on a machine with
W2K-server installed.
I was able to fix it with changes on permissions of the "c:/cygwin" folder Matt Wilkie mentioned on 29 Jun 2003 in
InsecureDirectory (r1.12 bottom)
--
AlexanderCatharin - 23 Sep 2003
Same problem, same fix. I got a lot of messages that in some /cygwin subdirectories I did not have permission. But it worked anyway.
--
BramVanOosterhout - 23 Oct 2003
I don't have time to do much right now, but if someone feels like updating
WindowsInstallCookbook since this fix seems somewhat tested, go ahead! Please include a reference to the warning at end of
AnotherInsecureDirectory though, as it seems the fix needs re-doing periodically (another good argument for Linux

...)
--
RichardDonkin - 05 Nov 2003