Tags:
create new tag
view all tags

SID-01585: Insecure directory in $ENV{PATH} while running with -T swit

Status: Answered Answered TWiki version: 5.1.2 Perl version: 5.014002 (linux)
Category: CategoryInstallation Server OS: Linux 2.6.42-26-generic (x86_64-linux-gnu-thread-multi) Last update: 13 years ago

This is a brand new installation on Ubuntu 12.04 and when I run config I get the following error:

Insecure directory in $ENV{PATH} while running with -T switch at /var/www/twiki/lib/TWiki/Configure/Checker.pm line 155.

Have checked previous questions on this topic, but none of the answers help.

The SaveEnvPath points to the correct directories (I believe)

$TWiki::cfg{SafeEnvPath} = '/usr/local/bin:/usr/bin:/bin';

-- TWikiGuest - 2012-11-14

Discussion and Answer

Have attached the output from config.

-- LeoList - 2012-11-14

Check the permissions of each directory in the path, they must be non-writable by the webserver user.

-- PeterThoeny - 2012-11-14

done. they are only writable by root

-- LeoList - 2012-11-14

ok. found it.

one of the directories had world write access.

Thanks,

-- LeoList - 2012-11-14

-- LeoList - 2012-11-14

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title Insecure directory in $ENV{PATH} while running with -T swit
SupportCategory CategoryInstallation
TWiki version 5.1.2
Server OS Linux 2.6.42-26-generic (x86_64-linux-gnu-thread-multi)
Web server Apache/2.2.22 (Ubuntu)
Perl version 5.014002 (linux)
Browser & version Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:16.0) Gecko/20100
Topic attachments
I Attachment History Action Size Date Who Comment
HTMLhtml configure.html r1 manage 57.6 K 2012-11-14 - 02:07 LeoList  
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2012-11-14 - LeoList
 
  • 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.