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:
parent
e24af61e22
commit
50ca44faee
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue