Skip to content

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

Merged
svartkanin merged 1 commit into
archlinux:masterfrom
AnouarMohamed:fix-efi-fmask
Aug 29, 2026
Merged

fix(disk): use fmask=0177 for EFI partition mount options#4715
svartkanin merged 1 commit into
archlinux:masterfrom
AnouarMohamed:fix-efi-fmask

Conversation

@AnouarMohamed

Copy link
Copy Markdown
Contributor

Fixes #4714

Context & Rationale

When setting default mount options for the EFI system partition, fmask=0077 was previously used. Updating this to fmask=0177 ensures files on the ESP are not created with execute permissions, while keeping dmask=0077 for directories. This aligns with systemd's default behavior for ESP mount options (fmask=0177,dmask=0077) and satisfies bootctl requirements.

Changes

  • Changed fmask=0077 to fmask=0177 in archinstall/lib/installer.py when setting 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 archlinux#4714
@svartkanin
svartkanin merged commit ef2df41 into archlinux:master Aug 29, 2026
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change fmask value in /etc/fstab

2 participants