]> git.proxmox.com Git - pve-cluster.git/commit
pmxcfs: do not grant LXC configs o+r permissions anymore
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 7 Oct 2020 07:56:05 +0000 (09:56 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 7 Oct 2020 11:36:14 +0000 (13:36 +0200)
commitad7a70d6db7b38e2fae47fec72eff247fde01b43
tree1859badee79503c64504d5ba934a2a11aa2e0006
parentc63b596f75ac45ae59ec7abedbbc5c582e7046c5
pmxcfs: do not grant LXC configs o+r permissions anymore

This was initially done because of some hook reading the config from
an unprivileged namespace when using unprivileged containers.

But, we nowadays do not do this anymore, either setup stuff before to
or use another source for getting required information (e.g., our
autodev hook uses "/var/lib/lxc/$vmid/devices").

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
data/src/pmxcfs.c