]> git.ipfire.org Git - thirdparty/systemd.git/commit
nspawn: add support for rootidmap bind option 24467/head
authorQuentin Deslandes <qdeslandes@naccy.de>
Sun, 4 Sep 2022 18:30:58 +0000 (20:30 +0200)
committerQuentin Deslandes <qd@naccy.de>
Mon, 5 Sep 2022 16:23:28 +0000 (17:23 +0100)
commit2b2777eda96af054817f00b88a7ba80ab2578d47
tree036c41ca85cc3bff57afedf8b0dea0e11e343ca2
parent1aa18710aff992832cf901c943a21715ee5e65e6
nspawn: add support for rootidmap bind option

rootidmap bind option will map the root user from the container to the
owner of the mounted directory on the filesystem. This will ensure files
and directories created by the root user in the container will be owned
by the directory owner on the filesystem. All other user will remain
unmapped.
man/systemd-nspawn.xml
src/nspawn/nspawn-mount.c
src/nspawn/nspawn.c
src/shared/dissect-image.c
src/shared/mount-util.c
src/shared/mount-util.h