24 Nov 2026
Symlinked files are stored whole in tar archives
- What was broken
- Adding a folder to a tar archive on Linux or macOS stored a symlinked file as just a few bytes, the length of the link path. tar unpacked it with no error, so the file was silently broken.
- What I changed
- The size now comes from the file that was actually opened, so the full contents are stored.
- Why it matters
- Backups and packages that contain symlinks unpack with the real file contents.
see the code, #1508 ↗ (opens in a new tab)
17 Nov 2026
Saved tar files keep each file's permissions
- What was broken
- Saving a tar archive gave every file full permissions for everyone, so a private key packed as owner-only came out readable and writable by anyone after unpacking.
- What I changed
- Each file and folder now keeps the permissions it had in the archive. New files still get the old default.
- Why it matters
- Private files stay private when archives are rewritten, for example in Docker images.
see the code, #1495 ↗ (opens in a new tab)
← every project