<div dir="ltr">I tried creating the rootfs on a local filesystem and then copying it to the NFS filesystem with "cp -Rp", and that works, so maybe it's an issue with tar? There's a discussion on the proxmox forums about tar setting acls here:<div> <a href="https://forum.proxmox.com/threads/lxc-containers-have-extended-permissions-acl-by-default.25367/" target="_blank">https://forum.proxmox.com/<wbr>threads/lxc-containers-have-<wbr>extended-permissions-acl-by-<wbr>default.25367/</a><div><br></div></div><div>But my host is running debian stretch (with a newer version of tar) and I don't see any acls set on the local filesystem, so I guess that's not the issue?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 29, 2018 at 11:55 AM, Daniel Urist <span dir="ltr"><<a href="mailto:durist@ucar.edu" target="_blank">durist@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Is it possible to create unprivileged containers on NFS volumes? It seems to work fine for a privileged container, but when I try it for an unprivileged container I get the following errors:</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Using image from local cache<br>Unpacking the rootfs<br>tar: ./var/mail: Cannot change ownership to uid 0, gid 8: Operation not permitted<br>tar: ./var/log/wtmp: Cannot change ownership to uid 0, gid 43: Operation not permitted<br>tar: ./var/log/lastlog: Cannot change ownership to uid 0, gid 43: Operation not permitted<br>tar: ./var/log/dmesg: Cannot change ownership to uid 0, gid 4: Operation not permitted<br>tar: ./var/log/btmp: Cannot change ownership to uid 0, gid 43: Operation not permitted<br>tar: ./var/log/fsck/checkroot: Cannot change ownership to uid 0, gid 4: Operation not permitted<br>tar: ./var/log/fsck/checkfs: Cannot change ownership to uid 0, gid 4: Operation not permitted<br>tar: ./var/log/apt/term.log: Cannot change ownership to uid 0, gid 4: Operation not permitted<br>tar: ./var/local: Cannot change ownership to uid 0, gid 50: Operation not permitted</blockquote><div><br></div></div>
</blockquote></div><br></div>