[libvirt] [PATCH v4 06/10] LXC: controller: change the owner of tty devices to the root user of container

2013-06-07 Thread Gao feng
Since these tty devices will be used by container, the owner of them should be the root user of container. This patch also adds a new function virLXCControllerChown, we can use this general function to change the owner of files. Signed-off-by: Gao feng gaof...@cn.fujitsu.com ---

Re: [libvirt] [PATCH v4 06/10] LXC: controller: change the owner of tty devices to the root user of container

2013-06-07 Thread Daniel P. Berrange
On Fri, Jun 07, 2013 at 03:12:23PM +0800, Gao feng wrote: Since these tty devices will be used by container, the owner of them should be the root user of container. This patch also adds a new function virLXCControllerChown, we can use this general function to change the owner of files.