[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] [PATCH] add a numeric offset option for uid and gid manipu
From: |
Joerg Schilling |
Subject: |
Re: [Bug-tar] [PATCH] add a numeric offset option for uid and gid manipulations |
Date: |
Tue, 12 Mar 2013 19:17:48 +0100 |
User-agent: |
nail 11.22 3/20/05 |
Paul Eggert <address@hidden> wrote:
> On 03/12/13 02:03, Glauber Costa wrote:
> > With that, it is extremely useful when unpacking tar archives, to be
> > able to add that offset to the end result. Specifying a user won't help,
> > since the tar archive can have many
>
> Sorry, I'm not following this part. Why can't you extract the
> tar image in a context where the mapping is already in place?
> If user "foo" is host user ID 4000, for example, and you're running
> in an environment where uid 0 maps to 10000, then presumably
> user "foo" is namespace user 14000, which is what you want, no?
Also, TAR should map by name rather then by uid in the first attempt.
Jörg
--
EMail:address@hidden (home) Jörg Schilling D-13353 Berlin
address@hidden (uni)
address@hidden (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
Re: [Bug-tar] [PATCH] add a numeric offset option for uid and gid manipulations, Glauber Costa, 2013/03/12