Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing top level directory timestamp and mode data when making archives #70

Merged
merged 2 commits into from
Feb 7, 2025

Conversation

pjbriggs
Copy link
Member

@pjbriggs pjbriggs commented Feb 7, 2025

Fixes a bug with the timestamps and mode data not being restored when compressed archives are unpacked - essentially these data items were not being stored when the archives were made so can't be recovered.

The fix is to explicitly add an entry for the top-level directory when tar.gz archives are generated using the make_archive_tgz and make_archive_multitgz functions (it also means that empty top-level directories no longer to be treated as a special case).

… in 'make_archive_tgz' & 'make_archive_multitgz'.
…gz' & 'make_archive_multitgz' (no longer special case).
@pjbriggs pjbriggs added the bug Something isn't working label Feb 7, 2025
@pjbriggs pjbriggs merged commit 0df478b into master Feb 7, 2025
10 checks passed
@pjbriggs pjbriggs deleted the fix-missing-top-level-timestamp-and-mode-data branch February 7, 2025 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant