From: Christian Göttsche Date: Thu, 28 Nov 2019 11:18:04 +0000 (+0100) Subject: tmpfiles: create with correct MAC label on option C X-Git-Tag: v245-rc1~322^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F14189%2Fhead;p=thirdparty%2Fsystemd.git tmpfiles: create with correct MAC label on option C Closes: #10855 --- diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c index 193ed0bc781..d1ba5841fd6 100644 --- a/src/tmpfiles/tmpfiles.c +++ b/src/tmpfiles/tmpfiles.c @@ -1460,7 +1460,7 @@ static int copy_files(Item *i) { dfd, bn, i->uid_set ? i->uid : UID_INVALID, i->gid_set ? i->gid : GID_INVALID, - COPY_REFLINK | COPY_MERGE_EMPTY); + COPY_REFLINK | COPY_MERGE_EMPTY | COPY_MAC_CREATE); if (r < 0) { struct stat a, b;