From: Daan De Meyer Date: Mon, 23 Jan 2023 15:43:58 +0000 (+0100) Subject: repart: Add note about UIDs/GIDs of copied files and directories X-Git-Tag: v253-rc1~25^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cd53cc149ef007a31b8ed567b33ad7e7e9579da9;p=thirdparty%2Fsystemd.git repart: Add note about UIDs/GIDs of copied files and directories --- diff --git a/man/repart.d.xml b/man/repart.d.xml index 846e1984e59..b7862029057 100644 --- a/man/repart.d.xml +++ b/man/repart.d.xml @@ -425,6 +425,12 @@ target filesystem (e.g symlinks, fifos, sockets and devices on vfat). When an unsupported file type is encountered, repart will skip copying this file and write a log message about it. + Note that systemd-repart does not change the UIDs/GIDs of any copied files + and directories. When running systemd-repart as an unprivileged user to build an + image of files and directories owned by the same user, you can run systemd-repart + in a user namespace with the current user mapped to the root user to make sure the files and + directories in the image are owned by the root user. + This option cannot be combined with CopyBlocks=. When