summaryrefslogtreecommitdiff
path: root/content/articles
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2025-10-17 10:54:34 +0200
committerxengineering <me@xengineering.eu>2025-10-17 10:54:34 +0200
commite661ab6a846a881afd9148eb2ce0cdfb53c20d20 (patch)
tree4786f76ec8af67e3288c5de8f18ffd395a968ba8 /content/articles
parentbc55f7f6e3886bb2a1f4faab3502b3209e114486 (diff)
downloadwebsite-e661ab6a846a881afd9148eb2ce0cdfb53c20d20.tar
website-e661ab6a846a881afd9148eb2ce0cdfb53c20d20.tar.zst
website-e661ab6a846a881afd9148eb2ce0cdfb53c20d20.zip
articles: arch-installation: Fix security risk
This makes sure only the `root` user can modify contents of the `/boot` partition and only the `root` user and members of its group can read the content. Otherwise on `bootctl install` two warnings were raised.
Diffstat (limited to 'content/articles')
-rw-r--r--content/articles/arch-installation.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/articles/arch-installation.md b/content/articles/arch-installation.md
index 0c2ceb6..beb12d4 100644
--- a/content/articles/arch-installation.md
+++ b/content/articles/arch-installation.md
@@ -110,7 +110,7 @@ the path `/mnt`.
```
mount /dev/mapper/root /mnt
-mount --mkdir /dev/vda1 /mnt/boot
+mount --options fmask=7137,dmask=7027 --mkdir /dev/vda1 /mnt/boot
```
The software `reflector` is executed to find appropriate Arch Linux package