[CentOS] Tar of files

Wed Mar 3 14:58:31 UTC 2021
R C <cjvijf at gmail.com>

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 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 the next box ?
>
> I was expecting to untar and bob still be the owner .
>
> Thanks,
>
> Jerry
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos