fix(disk): use fmask=0177 for EFI partition mount options

Update default fmask from 0077 to 0177 for EFI system partitions when mounting. Using 0177 aligns with systemd defaults while preventing non-executable file bit permissions and satisfying bootctl requirements.

Fixes #4714
This commit is contained in:
AnouarMohamed 2026-08-13 14:34:48 +01:00
parent e24af61e22
commit 50ca44faee
1 changed files with 1 additions and 1 deletions

View File

@ -381,7 +381,7 @@ class Installer:
options = part_mod.mount_options
if part_mod.is_efi():
options = list(dict.fromkeys(options + ['fmask=0077', 'dmask=0077']))
options = list(dict.fromkeys(options + ['fmask=0177', 'dmask=0077']))
mount(part_mod.dev_path, target, options=options)
elif part_mod.fs_type == FilesystemType.BTRFS: