{ "/usr/bin/*", S_IFREG, 0755, "root", "root", 0 },
{ "/usr/sbin/*", S_IFREG, 0755, "root", "root", 0 },
+ // Shared Libraries must be executable
+ { "/usr/lib64/*.so.*", S_IFREG, 0755, "root", "root", 0 },
+ { "/usr/lib64/**/*.so", S_IFREG, 0755, "root", "root", 0 },
+
+ // Shared Libraries must not exist in /usr/lib
+ { "/usr/lib/*.so*", S_IFREG, 0, NULL, NULL, PAKFIRE_FHS_MUSTNOTEXIST },
+
// /usr/include: Ensure that:
// * All files are non-executable and belong to root
// * All directories have 0755 and belong to root