summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-18 16:57:55 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-18 16:57:55 +0000
commit583f4b5202436f566c5fa22ef8f83386175003b9 (patch)
tree72db09e9cbf90772bd149a61d02af00dd2ebbc36
parent972364b50d8395aadd92193489294c146d9cc0a7 (diff)
downloaddrakx-583f4b5202436f566c5fa22ef8f83386175003b9.tar
drakx-583f4b5202436f566c5fa22ef8f83386175003b9.tar.gz
drakx-583f4b5202436f566c5fa22ef8f83386175003b9.tar.bz2
drakx-583f4b5202436f566c5fa22ef8f83386175003b9.tar.xz
drakx-583f4b5202436f566c5fa22ef8f83386175003b9.zip
(write) do not make /etc/sysconfig/i18n readable only by root in high
security level (#39027)
-rw-r--r--perl-install/NEWS3
-rw-r--r--perl-install/lang.pm2
2 files changed, 4 insertions, 1 deletions
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;