bug-tar
[Top][All Lists]
Advanced

[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: Paul Eggert
Subject: Re: [Bug-tar] [PATCH] add a numeric offset option for uid and gid manipulations
Date: Tue, 12 Mar 2013 12:03:02 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130219 Thunderbird/17.0.3

On 03/12/13 11:43, Glauber Costa wrote:
> If you are extracting an archive that contains a distribution image with
> a particular user, there is no guarantee that such user exists in the
> host system. Much less that it has an equal user id.

Sure, but that's the way that 'tar' has always worked.
What I'm not understanding is what is new here.

If the tar archive says that the file F is
owned by a user with name 'root' and user ID 0,
and if you run 'tar x' in an environment where the
user named 'root' has ID 10000, then tar normally
will extract into a file owned by 'root' with
user ID 10000.  Isn't that's what you want here?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]