diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-18 16:58:26 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-18 16:58:26 +0000 |
commit | 77fb2079808ad245f24267692aec0a02fa1a25a8 (patch) | |
tree | a107973f3dcdaa7cd92b0ab76f8612c70a7f7d98 | |
parent | c38459a2348d284cd90156f9df009191f3bc05a4 (diff) | |
download | drakx-backup-do-not-use-77fb2079808ad245f24267692aec0a02fa1a25a8.tar drakx-backup-do-not-use-77fb2079808ad245f24267692aec0a02fa1a25a8.tar.gz drakx-backup-do-not-use-77fb2079808ad245f24267692aec0a02fa1a25a8.tar.bz2 drakx-backup-do-not-use-77fb2079808ad245f24267692aec0a02fa1a25a8.tar.xz drakx-backup-do-not-use-77fb2079808ad245f24267692aec0a02fa1a25a8.zip |
(write) do not make /etc/sysconfig/i18n readable only by root in high
security level (#39027)
-rw-r--r-- | perl-install/NEWS | 3 | ||||
-rw-r--r-- | perl-install/lang.pm | 2 |
2 files changed, 4 insertions, 1 deletions
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; |