Open slowpeek opened 2 weeks ago
That's simply the users tar runs as. The files are created very differently. I don't immediately see how that's a problem with it, other than cosmetically?
It doesnt look clean to me. Like, if someone forgot about the final touch. It should be tar --owner root --group root ..
where it packs versioned tars.
Upd: not --user, but --owner
Latest tars keep ownership in symbolic and numerical form, while versioned ones only has numbers. Under some conditions, extracting both would make the files owned by different entities. Conditions:
tar xf
without--no-same-owner
or--numeric-owner
runner
with uid other than1001
and/or there is a groupdocker
with gid other than127
Under these conditions, tar would map
runner:docker
to something other than1001:127
for the latest tars, and keep it1001:127
for the versioned ones.