]> git.proxmox.com Git - pve-container.git/commit
LXC::Setup: id_map support for file wrappers
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 12 Nov 2015 13:00:25 +0000 (14:00 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 13 Nov 2015 10:39:36 +0000 (11:39 +0100)
commitc6a605f9eee58fa44348af8313927bfc04386717
tree3446a0823c0ca16debe957a653a2f11eb2bd5d0b
parentc9a5774b7fa3536cd81b0a7e0817cd12a1436baa
LXC::Setup: id_map support for file wrappers

when an id_map is configured for the container or the
unprivileged flag set (which implies the default userid
map), the file access wrappers (LXC::Setup::Plugin::ct_*
functions) will use the id_map to fixup ownership of created
files.
src/PVE/LXC.pm
src/PVE/LXC/Create.pm
src/PVE/LXC/Setup.pm
src/PVE/LXC/Setup/Base.pm