summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-03-25 16:11:49 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-03-25 16:11:49 +0000
commit7f178e30a30842d3a2eb91138e102971f02f4433 (patch)
tree3fb93210cfccd8b45d41ba7ceb7644c5a0fd4614
parent85f1ea414035c750e76ce778077b3e51856712f8 (diff)
downloaddrakx-7f178e30a30842d3a2eb91138e102971f02f4433.tar
drakx-7f178e30a30842d3a2eb91138e102971f02f4433.tar.gz
drakx-7f178e30a30842d3a2eb91138e102971f02f4433.tar.bz2
drakx-7f178e30a30842d3a2eb91138e102971f02f4433.tar.xz
drakx-7f178e30a30842d3a2eb91138e102971f02f4433.zip
- use umask=0 by default on vfat (#39315)
-rw-r--r--perl-install/fs/mount_options.pm2
-rw-r--r--perl-install/install/NEWS1
-rw-r--r--perl-install/install/steps_interactive.pm2
3 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/fs/mount_options.pm b/perl-install/fs/mount_options.pm
index 3cd796d64..3eacdfb4a 100644
--- a/perl-install/fs/mount_options.pm
+++ b/perl-install/fs/mount_options.pm
@@ -226,7 +226,7 @@ sub set_default {
}) if $part->{is_removable};
put_in_hash($options, {
- 'umask=0' => $opts{security} < 3, 'umask=0022' => $opts{security} < 4,
+ 'umask=0' => $opts{security} <= 3,
'iocharset=' => $opts{iocharset}, 'codepage=' => $opts{codepage},
});
}
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index f0d1ed684..8e7bbbac6 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,4 @@
+- use umask=0 by default on vfat (#39315)
- root/user password:
o force the password to be utf8 (#23273)
diff --git a/perl-install/install/steps_interactive.pm b/perl-install/install/steps_interactive.pm
index 9fcc91370..239b6c7bf 100644
--- a/perl-install/install/steps_interactive.pm
+++ b/perl-install/install/steps_interactive.pm
@@ -1037,7 +1037,7 @@ try to force installation even if that destroys the first partition?"));
sub check_security_level {
my ($o, $security) = @_;
- if ($security > 2 && find { $_->{fs_type} eq 'vfat' } @{$o->{fstab}}) {
+ if ($security > 3 && find { $_->{fs_type} eq 'vfat' } @{$o->{fstab}}) {
$o->ask_okcancel('', N("In this security level, access to the files in the Windows partition is restricted to the administrator.")) or return 0;
}
return 1;