From 583f4b5202436f566c5fa22ef8f83386175003b9 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 18 Mar 2008 16:57:55 +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(-) (limited to 'perl-install') diff --git a/perl-install/NEWS b/perl-install/NEWS index 322f08242..f57abfcfc 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -4,6 +4,9 @@ modprobe.preload, the modules are now handled by coldplug - 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) - scannerdrake: o use provides instead of package name now that gurpmi handle them diff --git a/perl-install/lang.pm b/perl-install/lang.pm index a8bbd0404..272c61e6f 100644 --- a/perl-install/lang.pm +++ b/perl-install/lang.pm @@ -1158,7 +1158,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