summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-08-21 10:23:28 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-08-21 10:23:28 +0000
commitaad4f3618528dd48f1ccac7eaa85a5a2c2784b16 (patch)
treeb570e89fc439a027cf8a3e93f26abb70e94876b9 /perl-install
parentde8808dc38b36060828666335c45522ac899afdc (diff)
downloaddrakx-aad4f3618528dd48f1ccac7eaa85a5a2c2784b16.tar
drakx-aad4f3618528dd48f1ccac7eaa85a5a2c2784b16.tar.gz
drakx-aad4f3618528dd48f1ccac7eaa85a5a2c2784b16.tar.bz2
drakx-aad4f3618528dd48f1ccac7eaa85a5a2c2784b16.tar.xz
drakx-aad4f3618528dd48f1ccac7eaa85a5a2c2784b16.zip
umask=0 only if security level < 3
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/fs.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm
index 3562f3cf1..493dc2ca6 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -271,7 +271,7 @@ sub mount_options_help {
}
sub set_default_options {
- my ($all_hds, $useSupermount, $iocharset, $codepage) = @_;
+ my ($all_hds, $useSupermount, $security, $iocharset, $codepage) = @_;
my @removables = @{$all_hds->{raw_hds}};
@@ -304,7 +304,7 @@ sub set_default_options {
}
if (isFat($part) || $is_auto) {
put_in_hash($options, {
- user => 1, 'umask=0' => 1, exec => 1,
+ user => 1, 'umask=0' => $security < 3, exec => 1,
'iocharset=' => $iocharset, 'codepage=' => $codepage,
});
}