]> git.ipfire.org Git - people/stevee/pakfire.git/blobdiff - src/libpakfire/fhs.c
FHS: All files in /boot must be owned by root
[people/stevee/pakfire.git] / src / libpakfire / fhs.c
index 706e56c58ef455b7be61462851298903ae65c4e4..f646fafd00623c272e57799550db1ee207606ba0 100644 (file)
@@ -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 },