Re: [Devel] [PATCH v5 4/6] modify tar extraction to account for user namespace

2013-05-19 Thread Kir Kolyshkin
On 05/17/2013 09:26 AM, Glauber Costa wrote: From: Glauber Costa glom...@parallels.com If we are running upstream with user namespaces, we need to create the container filesystem not with the ownership preserved, but reflecting the mapping we need to apply. Note that according to our

Re: [Devel] [PATCH v5 4/6] modify tar extraction to account for user namespace

2013-05-19 Thread Glauber Costa
On 05/19/2013 09:41 PM, Kir Kolyshkin wrote: + */ +#define VZ_DEFAULT_UID10 +#define VZ_DEFAULT_GID10 I assume these are no longer used, right? right ___ Devel mailing list Devel@openvz.org

[Devel] [PATCH v5 4/6] modify tar extraction to account for user namespace

2013-05-17 Thread Glauber Costa
From: Glauber Costa glom...@parallels.com If we are running upstream with user namespaces, we need to create the container filesystem not with the ownership preserved, but reflecting the mapping we need to apply. Note that according to our documentation, we should ignore this if the user