diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2019-11-28 12:18:04 +0100 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2019-11-28 12:18:04 +0100 |
commit | 80e7c840814253dc1f9feb44399a2e1b2cf44264 (patch) | |
tree | 4412b7d041f3a4507f696e9e855afe0be1aa1855 /src/tmpfiles/tmpfiles.c | |
parent | aeec5efab58adb2c8fe02ab4f6f8864b07905e7e (diff) | |
download | systemd-80e7c840814253dc1f9feb44399a2e1b2cf44264.tar.gz |
tmpfiles: create with correct MAC label on option C
Closes: #10855
Diffstat (limited to 'src/tmpfiles/tmpfiles.c')
-rw-r--r-- | src/tmpfiles/tmpfiles.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c index 193ed0bc78..d1ba5841fd 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; |