Please do: # mkdir test # dd if=/dev/zero of=test/file bs=1000 count=1 # chown 123456:123456 -R test # tar cf t1.tar test # tar tvf t1.tar drwxr-xr-x 123456/123456 0 2022-09-08 03:06 test/ -rw-r--r-- 123456/123456 1000 2022-09-08 03:06 test/file
Normal output as it should be. Now: # chown 1234567:1234567 -R test # tar cf t2.tar test # tar tvf t2.tar drwxr-xr-x 1234567/1234567 0 2022-09-08 03:06 test/ -rw-r--r-- 1234567/1234567 1000 2022-09-08 03:06 test/file Oops! First line columns are no longer aligned. And: # chown 12345678:12345678 -R test # tar cf t3.tar test # tar tvf t3.tar drwxr-xr-x 12345678/12345678 0 2022-09-08 03:06 test/ -rw-r--r-- 12345678/12345678 1000 2022-09-08 03:06 test/file Output has become even worse.