summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-10-15 16:40:18 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-10-15 16:40:18 +0200
commitf7a220dee3a046c616525ec2a0cf0e0b78259737 (patch)
tree025cfa8a449f1571a7f8cef3169c34413b3a3ed6 /perl-install/fs
parent884638aab0fc5cb55c0d741082443fbd834a5c6d (diff)
downloaddrakx-f7a220dee3a046c616525ec2a0cf0e0b78259737.tar
drakx-f7a220dee3a046c616525ec2a0cf0e0b78259737.tar.gz
drakx-f7a220dee3a046c616525ec2a0cf0e0b78259737.tar.bz2
drakx-f7a220dee3a046c616525ec2a0cf0e0b78259737.tar.xz
drakx-f7a220dee3a046c616525ec2a0cf0e0b78259737.zip
do not mount ESP with umask=0 under UEFI (mga#27415)
Diffstat (limited to 'perl-install/fs')
-rw-r--r--perl-install/fs/mount_options.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/mount_options.pm b/perl-install/fs/mount_options.pm
index 2ec6bb59a..0b63f7260 100644
--- a/perl-install/fs/mount_options.pm
+++ b/perl-install/fs/mount_options.pm
@@ -224,7 +224,7 @@ sub set_default {
}) if $part->{is_removable};
put_in_hash($options, {
- 'umask=0' => $opts{security} <= 1,
+ 'umask=0' => $opts{security} <= 1 && !isESP($part),
'iocharset=' => $opts{iocharset}, 'codepage=' => $opts{codepage},
});
}