restic/changelog/unreleased/issue-4103
Panagiotis Cheilaris 3b516d4b70 convert uid/gid -1 to 0 only in 32-bit tar dump
Only for a 32-bit build of restic, convert a uid or gid value of -1 to 0.
2022-12-30 18:12:12 +01:00

9 lines
460 B
Text

Bugfix: fix restic dump of tar file with 32-bit binary
When using a 32-bit build of restic, the `restic dump` command could in some
cases create tar files containing negative uid and gid. These files cannot be
read by gnu tar. This corner case especially applies to backups from stdin on Windows.
We have changed the dump command to create valid tar files in this case.
https://github.com/restic/restic/issues/4103
https://github.com/restic/restic/pull/4104