Hi!

I have set up an unprivileged container with bind mount /home from NFS
share mounted on host.

The /home directory has been mapped to root in the container:
printf "uid 42000 0\ngid 42000 0\n" | lxc config set container raw.idmap -

The problem is that chown does not work, e.g.:
chown: changing ownership of '/home/autossh/.ssh': Operation not permitted

If I change the target directory to a 'normal' one instead of NFS mounted,
everything works.

Any ideas, please....

NFS v3 and v4, lxc --version 3.0.3

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

Reply via email to