[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
fail-eperm port to Debian stable
From: |
Paul Eggert |
Subject: |
fail-eperm port to Debian stable |
Date: |
Thu, 28 Sep 2006 15:09:18 -0700 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
The recent change to fail-eperm caused "make check" to fail on my
Debian stable host. I guess its Perl uses a slightly pickier taint
check? I installed the following patch, which fixed the problem.
"man perlsec" suggested adding those three vars.
2006-09-28 Paul Eggert <address@hidden>
* tests/rm/fail-eperm: Unset BASH_ENV, CDPATH, and ENV, too;
suggested for Debian stable, which uses Perl 5.8.4.
--- tests/rm/fail-eperm 28 Sep 2006 13:31:57 -0000 1.17
+++ tests/rm/fail-eperm 28 Sep 2006 22:07:20 -0000
@@ -55,7 +55,7 @@
$ENV{LC_ALL} = 'C';
# Set up a safe, well-known environment
-delete $ENV{PATH};
+delete @ENV{qw(BASH_ENV CDPATH ENV PATH)};
$ENV{IFS} = '';
my @dir_list = qw(/tmp /var/tmp /usr/tmp);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- fail-eperm port to Debian stable,
Paul Eggert <=