Commit 11e412b
committed
fix: mount /boot/efi with restrictive fmask/dmask
systemd-boot creates a /boot/efi/loader/random-seed file that should not
be accessible by users. Yet, because the backing filesystem is FAT32,
by default everyone can read files when the filesystem is mounted.
Add fmask and dmask options to the generated /etc/fstab to deny read
access to regular users when /boot is mounted, as well as other common
options for the ESP partition.
Closes: #279
Signed-off-by: Agathe Porte <agathe.porte@oss.qualcomm.com>1 parent f65b5e8 commit 11e412b
File tree
2 files changed
+25
-0
lines changed- ci
- debos-recipes
2 files changed
+25
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
53 | 71 | | |
54 | 72 | | |
55 | 73 | | |
| |||
0 commit comments