Page 1 of 1

Insecure directory in $ENV{PATH} while running with -T switc

Posted: Wed Jan 02, 2008 10:37 pm
by stobe
Hi,

Im trying to install the .deb package 1.22.3-7 of zoneminder into Kubuntu 7.10 and have run through the installation procedure. I have checked /usr and /usr/bin for insecure directories that are 'world writable' which aren't there as for as I can see: I don't find directories in /usr and /usr/bin at all as a matter of fact.

I keep on getting the error: Insecure directory in $ENV{PATH} while running with -T switch at /usr/bin/zmpkg.pl line 258.

How can I find out what file/directory could cause the installation to report this message (log file, how to enable to if applicable)?

Posted: Wed Jan 02, 2008 11:16 pm
by cordel
After a bit of Googling:
http://www.washington.edu/perl5man/pod/perlsec.html
http://www.gossamer-threads.com/lists/m ... perl/86264
http://osdir.com/ml/lang.perl.modules.e ... 00025.html
http://www.zeuscat.com/tmp/test_harness_diff.html

Since I can not duplicate your issue, the above should be able to help you work it out and find where the error is coming from.

Posted: Sun Jan 06, 2008 3:57 am
by Lee Sharp
I believe this was fixed in 1.22.3-9 so you may want to try that.

SOLVED: Insecure directory in $ENV{PATH} while running with

Posted: Sun Jan 06, 2008 8:03 pm
by stobe
Hi,
Thanks for you assistance: I checked file permissions on directories /usr and /usr/bin itself and the appeared to be drwxrwxrwx (both). I did chmod 755 /usr and chmod 755 /usr/bin. After that the package successfully passed installation.

Thanks again

Stefan