]> git.ipfire.org Git - people/stevee/pakfire.git/commitdiff
FHS: Allow dotfiles in /root
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 18 Mar 2023 14:48:23 +0000 (14:48 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 18 Mar 2023 14:48:23 +0000 (14:48 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/fhs.c

index ebd8f7974c56198be9f37f237adbb5f70ebdd93a..a378e3209cc6dab1d3d6e717242a68259097eb08 100644 (file)
@@ -147,6 +147,7 @@ static const struct pakfire_fhs_check {
 
        // root
        { "/root",                S_IFDIR, 0700, "root", "root", 0 },
+       { "/root/.*",             S_IFREG, 0644, "root", "root", 0 },
        { "/root/**",                   0,    0,   NULL,   NULL, PAKFIRE_FHS_MUSTNOTEXIST },
 
        // /run