Quoting Giuseppe Fierro ([email protected]):
> Hi,
> I'm playing with LXC Container in unprivileged mode.
> 
> When I try to bind mount a directory inside a container with:
> 
> lxc.mount.entry=/home/user/test-lxc srv/test-01 none
> defaults,bind,create=dir 0 0
> 
> /srv/test-01 inside the container is mounted as nobody:nogroup so I'm
> not be able to write in it.
> 
> So my question is am I doing something wrong or is this the normal behaviour?

That's the normal behavior, since the owner of those files is not mapped
into the container.  You could map your host uid into the container, but
then of course the container uid 'owns' those files.

-serge
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to