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

Support and queries relating to all previous versions of ZoneMinder
Locked
stobe
Posts: 2
Joined: Wed Jan 02, 2008 10:29 pm

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

Post 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)?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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.
User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Post by Lee Sharp »

I believe this was fixed in 1.22.3-9 so you may want to try that.
stobe
Posts: 2
Joined: Wed Jan 02, 2008 10:29 pm

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

Post 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
Locked