On 3/3/21 6:53 AM, Jerry Geis wrote:
When I "tar" up an archive the files have an owner bob,
when I extract that to another machine bob is there also but user number is
different.
So when I extract bob is no longer the owner of the files but someone else.
Is there a good way to account for this
On Wed, 3 Mar 2021 at 09:54, Jerry Geis wrote:
> When I "tar" up an archive the files have an owner bob,
> when I extract that to another machine bob is there also but user number is
> different.
> So when I extract bob is no longer the owner of the files but someone else.
>
> Is there a good way
I think on linux (most systems I ran into actually), UIDs and GIDs are
numerical with just a "human friendly" translation (from passwd/group.
If you extract a tar file, for example, and the owner/group
(numerically) does not exist on the target system, you get to see the
'old' uid/gid from
Regular users don't have the ability to change file ownership (only group,
assuming they're a member of the target group and own the file), so this is
mainly a consideration if you're running tar as root. By default, if you're
running as root, GNU tar assumes the --same-owner switch, which preserve
Does anyone understand why there exists a "--numeric-owner" flag? I replied
off-list with the same information as others posted here, but the existence and
docs for that flag at least imply that the default is usernames, not UIDs.
Noam
__
On 3/3/21 8:53 AM, Jerry Geis wrote:
When I "tar" up an archive the files have an owner bob,
when I extract that to another machine bob is there also but user number is
different.
If you pack and extract as root, then numeric UID will be the same. But
on different systems there may be diffe
either assign the same UID/GIDs on both boxes to the same user, or do a
chown -R after you untar-ed it.
(also, it helps to have users use the same 'moniker' cross platforms.)
On 3/3/21 7:53 AM, Jerry Geis wrote:
When I "tar" up an archive the files have an owner bob,
when I extract that to an
When I "tar" up an archive the files have an owner bob,
when I extract that to another machine bob is there also but user number is
different.
So when I extract bob is no longer the owner of the files but someone else.
Is there a good way to account for this ?
User ID on one box being different to
8 matches
Mail list logo