From: Michael Tremer Date: Fri, 17 Mar 2023 11:56:59 +0000 (+0000) Subject: FHS: All files in /boot must be owned by root X-Git-Tag: 0.9.29~283 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4116016e5155dfcd98176c806af6e7c09977aeaf;p=pakfire.git FHS: All files in /boot must be owned by root Signed-off-by: Michael Tremer --- diff --git a/src/libpakfire/fhs.c b/src/libpakfire/fhs.c index 706e56c58..f646fafd0 100644 --- a/src/libpakfire/fhs.c +++ b/src/libpakfire/fhs.c @@ -96,6 +96,10 @@ static const struct pakfire_fhs_check { { "/boot", S_IFDIR, 0755, "root", "root", 0 }, { "/boot/efi", S_IFDIR, 0755, "root", "root", 0 }, + // All files in /boot must be owned by root + { "/boot/**", S_IFREG, 0, "root", "root", 0, }, + { "/boot/**", S_IFDIR, 0, "root", "root", 0, }, + // /dev (nothing may exist in it) { "/dev", S_IFDIR, 0755, "root", "root", 0 }, { "/dev/**", 0, 0, NULL, NULL, PAKFIRE_FHS_MUSTNOTEXIST },