Tags:
create new tag
view all tags

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 smile ...)

-- RichardDonkin - 05 Nov 2003

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2003-11-05 - RichardDonkin
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.