[Lxc-users] lxc-setcap doesn't work in ubuntu 12.04

Sam Wang zhefwang at gmail.com
Fri Jun 29 14:03:12 UTC 2012


I know it can not work with shell scripts and it can not work with binary
executable file such as lxc-execute.I used lxc in centos 6.2 and red hat
6.1,it did work.
btw: the version of lxc is 0.7.5 installed by apt-get install

2012/6/29 Serge Hallyn <serge.hallyn at canonical.com>

> Quoting Sam Wang (zhefwang at gmail.com):
> > when I use lxc in ubuntu 12.04,lxc-setcap doesn't work.
> > can someone tell me why?
>
> It cannot work.  It sets file capabilities on shell scripts, which cannot
> work just as setuid shell scripts cannot work.
>
> -serge
>



-- 

Zhefeng Wang
University of Science and Technology of China
Email:zhefwang at gmail.com

In God we trust, all others bring data
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20120629/d122d88a/attachment.html>


More information about the lxc-users mailing list