summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Chaumette <dchaumette@mandriva.com>2003-05-23 09:18:09 +0000
committerDamien Chaumette <dchaumette@mandriva.com>2003-05-23 09:18:09 +0000
commit420cffb888a1aacef6791f6a7b87f67ad541217b (patch)
tree38a48b9bdac525d8a46545817fc74b404834d261
parent9c6126635193f3daf9cfe4b13aa09c68051ce45a (diff)
downloaddrakx-420cffb888a1aacef6791f6a7b87f67ad541217b.tar
drakx-420cffb888a1aacef6791f6a7b87f67ad541217b.tar.gz
drakx-420cffb888a1aacef6791f6a7b87f67ad541217b.tar.bz2
drakx-420cffb888a1aacef6791f6a7b87f67ad541217b.tar.xz
drakx-420cffb888a1aacef6791f6a7b87f67ad541217b.zip
#3628 /etc/resolv.conf explicit rights set (by titi)
-rw-r--r--perl-install/network/network.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index 48f8785a5..d31b88c0d 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -142,8 +142,8 @@ sub write_resolv_conf {
my @old = map { "# nameserver $_\n" } @{$prev{nameserver}};
@new, @old;
};
- output($file, @search, @nameserver, (map { "# $_\n" } @unknown), "\n# ppp temp entry\n");
-
+ output_with_perm($file, 0644, @search, @nameserver, (map { "# $_\n" } @unknown), "\n# ppp temp entry\n");
+
#-res_init(); # reinit the resolver so DNS changes take affect
1;
} else {