diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2004-09-22 09:08:04 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2004-09-22 09:08:04 +0000 |
commit | df98f9840e6fe334c33012e022f10cdcd0547d43 (patch) | |
tree | 01addaecab7207bd094717ec8d43c179049d5e47 /pod/perlsec.pod | |
parent | a4142048d093908dfadd5b3e7ed8f633af464ea8 (diff) | |
download | perl-df98f9840e6fe334c33012e022f10cdcd0547d43.tar.gz |
Document that $ENV{PATH} may not contain relative directories under -T
p4raw-id: //depot/perl@23332
Diffstat (limited to 'pod/perlsec.pod')
-rw-r--r-- | pod/perlsec.pod | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/pod/perlsec.pod b/pod/perlsec.pod index 2fb6877b0d..3174450f8e 100644 --- a/pod/perlsec.pod +++ b/pod/perlsec.pod @@ -236,16 +236,16 @@ will not. =head2 Cleaning Up Your Path -For "Insecure C<$ENV{PATH}>" messages, you need to set C<$ENV{'PATH'}> to a -known value, and each directory in the path must be non-writable by others -than its owner and group. You may be surprised to get this message even -if the pathname to your executable is fully qualified. This is I<not> -generated because you didn't supply a full path to the program; instead, -it's generated because you never set your PATH environment variable, or -you didn't set it to something that was safe. Because Perl can't -guarantee that the executable in question isn't itself going to turn -around and execute some other program that is dependent on your PATH, it -makes sure you set the PATH. +For "Insecure C<$ENV{PATH}>" messages, you need to set C<$ENV{'PATH'}> to +a known value, and each directory in the path must be absolute and +non-writable by others than its owner and group. You may be surprised to +get this message even if the pathname to your executable is fully +qualified. This is I<not> generated because you didn't supply a full path +to the program; instead, it's generated because you never set your PATH +environment variable, or you didn't set it to something that was safe. +Because Perl can't guarantee that the executable in question isn't itself +going to turn around and execute some other program that is dependent on +your PATH, it makes sure you set the PATH. The PATH isn't the only environment variable which can cause problems. Because some shells may use the variables IFS, CDPATH, ENV, and |