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:
parent
3fdcecc87e
commit
65d6d8e32b
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user