From 3df88e836cf97010c7161f422382210b56a87562 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 12 Mar 2026 15:08:07 +0100 Subject: [PATCH] man: document explicitly that ProtectHome= has no effect on non-standard homedir locations Fixes: #41045 --- man/systemd.exec.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml index e7d5e63c96..093cd2780b 100644 --- a/man/systemd.exec.xml +++ b/man/systemd.exec.xml @@ -1538,6 +1538,9 @@ CapabilityBoundingSet=~CAP_B CAP_C DynamicUser= is set. This setting cannot ensure protection in all cases. In general it has the same limitations as ReadOnlyPaths=, see below. + Note that this setting provides no protection if home directories are placed at a non-standard + location, i.e. outside of the hierarchies listed above. +