From d33121d27d284ae558b576cc07fb8f9bb44b35cd Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 8 Nov 2023 11:57:44 +0100 Subject: [PATCH] man: document that changing --uid= doesn't work Fixes: #28982 --- man/homectl.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/man/homectl.xml b/man/homectl.xml index 1cfbdcd4f83..7fc7d5f0122 100644 --- a/man/homectl.xml +++ b/man/homectl.xml @@ -269,6 +269,11 @@ owned by a different UID when logging in, the home directory and everything underneath it will have its ownership changed automatically before login completes. + Note that changing this option for existing home directories generally has no effect on home + directories that already have been registered locally (have a local binding), as + the UID used for an account on the local system is determined when the home directory is first + activated on it, and then remains in effect until the home directory is removed. + Note that users managed by systemd-homed always have a matching group associated with the same name as well as a GID matching the UID of the user. Thus, configuring the GID separately is not permitted.