diff --git a/src/lxc/lxc_controller.c b/src/lxc/lxc_controller.c index e9d2848302b98107075d9e8f0be41fd7cfffd00c..38b632e355da113756126e58797e3bec65595e79 100644 --- a/src/lxc/lxc_controller.c +++ b/src/lxc/lxc_controller.c @@ -1369,6 +1369,9 @@ static int virLXCControllerSetupDisk(virLXCControllerPtr ctrl, goto cleanup; } + if (virLXCControllerChown(ctrl, dst) < 0) + goto cleanup; + /* Labelling normally operates on src, but we need * to actally label the dst here, so hack the config */ def->src = dst;