summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-20 16:18:27 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-20 16:18:27 +0000
commitb96148e28dee5252accd1e2aba27bf590ea33e7f (patch)
treef8c6ee0952f061e3c08471285410b381f31e4c93 /perl-install/network
parent7eb0e236c248888fcc75d5d9441f040544d7367f (diff)
downloaddrakx-b96148e28dee5252accd1e2aba27bf590ea33e7f.tar
drakx-b96148e28dee5252accd1e2aba27bf590ea33e7f.tar.gz
drakx-b96148e28dee5252accd1e2aba27bf590ea33e7f.tar.bz2
drakx-b96148e28dee5252accd1e2aba27bf590ea33e7f.tar.xz
drakx-b96148e28dee5252accd1e2aba27bf590ea33e7f.zip
fix #6944: ensure proper perms on /etc/profile.d/proxy.{,c}sh
(pieleric@etu.utc.fr)
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/network.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index 32ac99a63..ede607792 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -341,7 +341,9 @@ sub miscellaneous_choose {
sub proxy_configure {
my ($u) = @_;
setExportedVarsInSh("$::prefix/etc/profile.d/proxy.sh", $u, qw(http_proxy ftp_proxy));
+ chmod 0755, "$::prefix/etc/profile.d/proxy.sh";
setExportedVarsInCsh("$::prefix/etc/profile.d/proxy.csh", $u, qw(http_proxy ftp_proxy));
+ chmod 0755, "$::prefix/etc/profile.d/proxy.csh";
}
sub read_all_conf {