From: Daan De Meyer Date: Sun, 29 Sep 2024 09:58:06 +0000 (+0200) Subject: Fix addons directory mode X-Git-Tag: v25~260 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0086445b5a2f7d8abccdcb824fafc395fac8e632;p=thirdparty%2Fmkosi.git Fix addons directory mode We use 700 everywhere for /boot, so let's use it for addons as well. --- diff --git a/mkosi/__init__.py b/mkosi/__init__.py index d4cf828e7..2a5b073f4 100644 --- a/mkosi/__init__.py +++ b/mkosi/__init__.py @@ -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: