From 39a1b2e5627f6434881978e7521860499c3ab8a0 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 28 Sep 2017 19:13:44 +0200 Subject: [PATCH] core: chown() StateDirectory= and friends recursively when starting a service 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/meson.build b/src/core/meson.build index d0f9247c0..482d1f09b 100644 --- a/src/core/meson.build +++ b/src/core/meson.build @@ -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 -- 2.30.2