Skip to content

Conversation

@davidnewhall
Copy link
Contributor

@davidnewhall davidnewhall commented Apr 17, 2025

This contribution changes how the library writes archived files by adding an os.Chtimes call to set the mtime and atime values on written files and folders.

It also honors the archived file posix modes now. Not all archives have modes, so it still falls back, but if the archived file has a mode it is used.

I also fixed a few bugs along the way.

@davidnewhall davidnewhall merged commit d17dc12 into main Apr 19, 2025
8 checks passed
@davidnewhall davidnewhall deleted the dn2_chtimes branch April 19, 2025 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unpackerr does not appear to preserve date created or modified from original archive

2 participants