923a60
From 40ed615d2f05472e2bc807fa1cdf5498625321e7 Mon Sep 17 00:00:00 2001
923a60
From: Jan Synacek <jsynacek@redhat.com>
923a60
Date: Tue, 11 Dec 2018 10:40:25 +0100
923a60
Subject: [PATCH] tmpfiles: 'e' is supposed to accept shell-style globs
923a60
923a60
(cherry picked from commit 939ca2136363f50b5acdb9ca102b9c27389859f1)
923a60
923a60
Related: #1641764
923a60
---
923a60
 src/tmpfiles/tmpfiles.c | 2 +-
923a60
 1 file changed, 1 insertion(+), 1 deletion(-)
923a60
923a60
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c
923a60
index 20bc465d23..0b17b5908e 100644
923a60
--- a/src/tmpfiles/tmpfiles.c
923a60
+++ b/src/tmpfiles/tmpfiles.c
923a60
@@ -1240,7 +1240,7 @@ static int create_item(Item *i) {
923a60
                 /* fall through */
923a60
 
923a60
         case EMPTY_DIRECTORY:
923a60
-                r = path_set_perms(i, i->path);
923a60
+                r = glob_item(i, path_set_perms, false);
923a60
                 if (r < 0)
923a60
                         return r;
923a60