ryantimwilson / rpms / systemd

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