Subject: | Tarball has strange uid/gid for files |
If I try to untar this as root (something that happens normally when in a Docker container), I get this error:
/bin/tar: Number-Compare-0.03/Changes: Cannot change ownership to uid 831580115, gid 755412454: Invalid argument
/bin/tar: Number-Compare-0.03/lib/Number/Compare.pm: Cannot change ownership to uid 831580115, gid 755412454: Invalid argument
/bin/tar: Number-Compare-0.03/lib/Number: Cannot change ownership to uid 831580115, gid 755412454: Invalid argument
/bin/tar: Number-Compare-0.03/lib: Cannot change ownership to uid 831580115, gid 755412454: Invalid argument
/bin/tar: Number-Compare-0.03/Makefile.PL: Cannot change ownership to uid 831580115, gid 755412454: Invalid argument
/bin/tar: Number-Compare-0.03/MANIFEST: Cannot change ownership to uid 831580115, gid 755412454: Invalid argument
/bin/tar: Number-Compare-0.03/MANIFEST.SKIP: Cannot change ownership to uid 831580115, gid 755412454: Invalid argument
/bin/tar: Number-Compare-0.03/META.yml: Cannot change ownership to uid 831580115, gid 755412454: Invalid argument
/bin/tar: Number-Compare-0.03/t/Number-Compare.t: Cannot change ownership to uid 831580115, gid 755412454: Invalid argument
/bin/tar: Number-Compare-0.03/t: Cannot change ownership to uid 831580115, gid 755412454: Invalid argument
/bin/tar: Number-Compare-0.03: Cannot change ownership to uid 831580115, gid 755412454: Invalid argument
/bin/tar: Exiting with failure status due to previous errors
I'm not sure how it ended up with that uid/gid.
See https://github.com/skaji/cpm/pull/156 for a fix in the cpm tool, but there's other tools that are likely to be affected.