]> git.proxmox.com Git - mirror_lxc.git/commit
don't play with the capabilities when we are root
authorDaniel Lezcano <daniel.lezcano@free.fr>
Tue, 26 Oct 2010 15:42:37 +0000 (17:42 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Tue, 26 Oct 2010 15:42:37 +0000 (17:42 +0200)
commit7ee895e428cef6df576e4c9e6d10ac7d41b5a213
tree325ff3faa86a20951017ec1e631aaeedf19c1663
parentb3ecde1ec3d7e7a1297d78746ef2604e00c60525
don't play with the capabilities when we are root

We don't want to drop the capabilities when we are root because that
leads to some problems. For exemple, sudo lxc-start -n foo -o $(tty) fails with
"permission denied".

Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr>
src/lxc/caps.c