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

Enable access to file permissions, creation time and last access time for encrypted zip files #557

Open
dan-s1 opened this issue Jul 29, 2024 · 0 comments

Comments

@dan-s1
Copy link

dan-s1 commented Jul 29, 2024

Apache commons-compress allow access to the file permissions, create time and the last access time for unencrypted zip files as seen in their Javadocs for methods getUnixMode, getCreationTime and method getLastAccessTime.
If it is possible to obtain these for encrypted zip files in zip4j, can you please create getXXX methods to retrieve them? Specifically in the src/main/java/net/lingala/zip4j/model/LocalFileHeader.java class. I have seen in #231 how you added the ability to capture the file permissions when writing a zip. If they are preserved in the zip file couldn't they be retrieved when reading a zip file?
This may or may not be related to issue #460 in regards to file permissions.
Thank you!

@dan-s1 dan-s1 changed the title Enable access to file permissions and last access time for encrypted zip files Enable access to file permissions, creation time and last access time for encrypted zip files Aug 16, 2024
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

No branches or pull requests

1 participant