diff --git a/src/lxc/lxc_controller.c b/src/lxc/lxc_controller.c index 0231ecb5d6642a5407f2558fee5c913720f70105..8ee4dd448fa5bbf07debdbe68e2e0a4b84632496 100644 --- a/src/lxc/lxc_controller.c +++ b/src/lxc/lxc_controller.c @@ -1305,6 +1305,10 @@ static int virLXCControllerPopulateDevices(virLXCControllerPtr ctrl) path); goto cleanup; } + + if (virLXCControllerChown(ctrl, path) < 0) + goto cleanup; + VIR_FREE(path); }