mirror of
https://github.com/systemd/systemd.git
synced 2026-07-12 18:44:14 +00:00
tmpfiles: fix 'D' lines
https://bugs.freedesktop.org/show_bug.cgi?id=87953
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user