From 77fb2079808ad245f24267692aec0a02fa1a25a8 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 18 Mar 2008 16:58:26 +0000 Subject: (write) do not make /etc/sysconfig/i18n readable only by root in high security level (#39027) --- perl-install/NEWS | 3 +++ perl-install/lang.pm | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index f86e72023..4fe7b7178 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,5 +1,8 @@ - draksec o do not continue if installing msec crashed or was canceled (#38911) +- localdrake: + o do not make /etc/sysconfig/i18n readable only by root in high + security level (#39027) Version 10.4.239.4 - 05 February 2008, by Thierry Vignaud diff --git a/perl-install/lang.pm b/perl-install/lang.pm index a3c2b0e5b..1ebf893c7 100644 --- a/perl-install/lang.pm +++ b/perl-install/lang.pm @@ -1139,7 +1139,7 @@ sub write { my $file = $b_user_only ? "$ENV{HOME}/.i18n" : '/etc/sysconfig/i18n'; log::explanations(qq(Setting l10n configuration in "$file")); - setVarsInSh($::prefix . $file, $h); + setVarsInShMode($::prefix . $file, 0644, $h); configure_hal($locale) if !$b_user_only; -- cgit v1.2.1