]> git.ipfire.org Git - thirdparty/systemd.git/commit
nspawn: Make sure we create bind mount points as the correct UID/GID 26249/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 28 Jan 2023 14:12:08 +0000 (15:12 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 29 Jan 2023 07:59:19 +0000 (08:59 +0100)
commit0a67965fa225b0360a3f5de594d0f22490d3eacc
treec718241ddfe240e09b401c73cb0f332a3af00ec6
parent2312fd17cc225a1bc52d469f21a4479b96f87d8f
nspawn: Make sure we create bind mount points as the correct UID/GID

When using --private-users, we have to create bind mount points as
the user that will become root in the user namespace, so let's take
that into account.
src/nspawn/nspawn-mount.c