]> git.ipfire.org Git - thirdparty/systemd.git/commit
importd: support unpacking tarballs to foreign UID range
authorLennart Poettering <lennart@poettering.net>
Mon, 18 Aug 2025 21:18:18 +0000 (23:18 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 21 Oct 2025 21:09:50 +0000 (23:09 +0200)
commit1be8caa6be6f5a10a7dea5ac562a0df5c5fac2e9
tree0688eb88eac96fc09bd803286e6ed09ae5ac9743
parentd9c10bf1d2a46d4d4bafb3eef25048d414573824
importd: support unpacking tarballs to foreign UID range

When invoked unprivileged, let's use a transiently allocated userns, so
that we can properly untar UIDs/GIDs so that the trees appear owned by
the foreign UID/GID range.
src/import/import-common.c
src/import/import-common.h
src/import/import-tar.c
src/import/import.c
src/import/pull-tar.c
src/import/pull.c
src/shared/dissect-image.c
src/shared/dissect-image.h