summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;