chiark / gitweb /
core: chown() StateDirectory= and friends recursively when starting a service
authorLennart Poettering <lennart@poettering.net>
Thu, 28 Sep 2017 17:13:44 +0000 (19:13 +0200)
committerSven Eden <yamakuzure@gmx.net>
Wed, 22 Nov 2017 07:25:32 +0000 (08:25 +0100)
This is particularly useful when used in conjunction with DynamicUser=1,
where the UID might change for every invocation, but is useful in other
cases too, for example, when these directories are shared between
systems where the UID assignments differ slightly.

src/core/meson.build

index d0f9247c0017cb9e78082daaaad31ebd867773de..482d1f09be7c76be86c4b2da045fcda5846c9877 100644 (file)
@@ -8,6 +8,8 @@
 #         bpf-firewall.h
 #         cgroup.c
 #         cgroup.h
+#         chown-recursive.c
+#         chown-recursive.h
 #         dbus-automount.c
 #         dbus-automount.h
 #         dbus-cgroup.c