SID-01585: Insecure directory in $ENV{PATH} while running with -T swit
| Status: |
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
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.
Topic revision: r4 - 2012-11-14
- LeoList