]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Fix addons directory mode
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 29 Sep 2024 09:58:06 +0000 (11:58 +0200)
committerJörg Behrmann <behrmann@physik.fu-berlin.de>
Sun, 29 Sep 2024 10:37:36 +0000 (12:37 +0200)
We use 700 everywhere for /boot, so let's use it for addons as well.

mkosi/__init__.py

index d4cf828e7ad8460e44d02ee6c128b4d380039cb0..2a5b073f455b68597dab488df003609e398b7d5d 100644 (file)
@@ -1955,7 +1955,7 @@ def install_pe_addons(context: Context) -> None:
         die(f"sd-stub not found at /{stub.relative_to(context.root)} in the image")
 
     addon_dir = context.root / "boot/loader/addons"
-    with umask(~0o755):
+    with umask(~0o700):
         addon_dir.mkdir(parents=True, exist_ok=True)
 
     for addon in context.config.pe_addons: