]> git.ipfire.org Git - thirdparty/systemd.git/commit
tmpfiles: create parent directories if they are missing for more line types
authorLennart Poettering <lennart@poettering.net>
Tue, 23 Jan 2018 13:14:19 +0000 (14:14 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 23 Jan 2018 20:19:00 +0000 (21:19 +0100)
commit7fa1074831202e1477e0bb5e03b7570592046e99
treed848eab3eb4f6fabb53bcc065d1f07d22bade3d1
parent5579f85663d10269e7ac7464be6548c99cea4ada
tmpfiles: create parent directories if they are missing for more line types

Currently, we create leading directories implicitly for all lines that
create directory or directory-like nodes.

With this, we also do the same for a number of other lines: f/F, C, p,
L, c/b (that is regular files, pipes, symlinks, device nodes as well as
file trees we copy).

The leading directories are created with te default access mode of 0755.
If something else is desired, users should simply declare appropriate
"d" lines.

Fixes: #7853
man/tmpfiles.d.xml
src/tmpfiles/tmpfiles.c