[libvirt-users] User Namespace in LXC

Gao feng gaofeng at cn.fujitsu.com
Tue Nov 12 05:34:38 UTC 2013


On 11/11/2013 05:52 PM, Saurabh Deochake wrote:
> Hi Gao,
> 
> I appreciate your quick reply.
> 
>>you can try create a file in container, and on host, the owner of this file is uid=1000.
>>and on the other side, if a file's owner is uid 1000 on host. in this container, you will
>>see the owner of this file is uid 0.
> 
> I tried creating a file inside the container with root user. When I checked uid of the file on the host,
> it still gives me uid as 0.
> What can be wrong?
> 

In this situation, it must be a bug. but in my environment, everything works ok.
chould you show me the result of stat this new file inside container and on the host?




More information about the libvirt-users mailing list