chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fdcecc
)
tmpfiles: fix 'D' lines
author
Lennart Poettering
<lennart@poettering.net>
Mon, 5 Jan 2015 15:32:59 +0000
(16:32 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 5 Jan 2015 15:32:59 +0000
(16:32 +0100)
https://bugs.freedesktop.org/show_bug.cgi?id=87953
src/tmpfiles/tmpfiles.c
patch
|
blob
|
history
diff --git
a/src/tmpfiles/tmpfiles.c
b/src/tmpfiles/tmpfiles.c
index b830850879b951c80d9f4f5bec20432b533ea002..f5b32c2ba832387d4dffe81d2f0f17503a5bf5b5 100644
(file)
--- a/
src/tmpfiles/tmpfiles.c
+++ b/
src/tmpfiles/tmpfiles.c
@@
-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);
}