1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-10 01:17:44 +03:00

tmpfiles: fix 'D' lines

https://bugs.freedesktop.org/show_bug.cgi?id=87953
This commit is contained in:
Lennart Poettering 2015-01-05 16:32:59 +01:00
parent 3fdcecc87e
commit 65d6d8e32b

View File

@ -774,7 +774,7 @@ static int create_item(Item *i) {
} else
r = 0;
if (i->type == CREATE_DIRECTORY || r == -ENOTTY) {
if (i->type == CREATE_DIRECTORY || i->type == TRUNCATE_DIRECTORY || r == -ENOTTY) {
RUN_WITH_UMASK(0000)
r = mkdir_label(i->path, i->mode);
}