3 ms·
How can it have the same owner if it's a different machine, and users aren't the same ?
by rakoo 8y ago
How can it have the same owner if it's a different machine, and users aren't the same ?
- spookthesunset 8y agoDo tarballs store the user/group names as strings or do they store the uid/gid instead? It is one of the goofy things about Unix systems is most tools speak uid/gid and woah is you if two machines on the network have “bob” only as different uid’s. Not entirely sure if windows has the same problem as to be honest if you use active directory most of that stuff is auto-magic. My hunch is that going with the ID vs. the “friendly name” has a bunch of trade offs and whichever you pick will come with serious drawbacks.
- saulrh 8y agoI feel you're on the right track with that hunch - Zooko's triangle should apply in some way.
- justincormack 8y agoThey can do either - traditional tar formats have uid as a number, but the newer pax format has both numeric and named values.
- Hello71 8y agoin fact, names are the default. "--numeric-owner" must be passed to use numeric values.
- fapjacks 8y agoHeh I think you meant "woe is you" although what you've got is actually rather delightful.
- icholy 8y agoMagic ... obviously