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.<div>btw: the version of lxc is 0.7.5 installed by apt-get install<br>
<div><br><div class="gmail_quote">2012/6/29 Serge Hallyn <span dir="ltr"><<a href="mailto:serge.hallyn@canonical.com" target="_blank">serge.hallyn@canonical.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Quoting Sam Wang (<a href="mailto:zhefwang@gmail.com">zhefwang@gmail.com</a>):<br>
> when I use lxc in ubuntu 12.04,lxc-setcap doesn't work.<br>
> can someone tell me why?<br>
<br>
It cannot work.  It sets file capabilities on shell scripts, which cannot<br>
work just as setuid shell scripts cannot work.<br>
<span class="HOEnZb"><font color="#888888"><br>
-serge<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><br>Zhefeng Wang   <br>University of Science and Technology of China <br>Email£º<a href="mailto:zhefwang@gmail.com" target="_blank">zhefwang@gmail.com</a><br>
<br>In God we trust, all others bring data<br>
</div></div>