Fix group/mode for /dev/pts inside LXC container
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 22 Feb 2011 14:06:09 +0000 (14:06 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 23 Feb 2011 11:11:35 +0000 (11:11 +0000)
commit08fb2a9ce855c6ed1042e451fb4dfc6664a77d64
tree6995f6a31932d732b1f98791732f7a08fb613ccf
parent009fce98be95c1674a697b850157c59bacda3168
Fix group/mode for /dev/pts inside LXC container

Normal practice for /dev/pts is to have it mode=620,gid=5
but LXC was leaving mode=000,gid=0 preventing unprivilegd
users in the guest use of PTYs

* src/lxc/lxc_controller.c: Fix /dev/pts setup
src/lxc/lxc_controller.c