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

make zip expose extra fields (for file permissions) #8210

Open
aymanosman opened this issue Mar 1, 2024 · 3 comments
Open

make zip expose extra fields (for file permissions) #8210

aymanosman opened this issue Mar 1, 2024 · 3 comments
Assignees
Labels
enhancement stalled waiting for input by the Erlang/OTP team team:VM Assigned to OTP team VM
Milestone

Comments

@aymanosman
Copy link

Is your feature request related to a problem? Please describe.

I want to unzip an archive containing a set of files and preserve their attributes, such as file permissions and whether they are symlinks.

Describe the solution you'd like

The existing functions that extract zip entries should produce correct file_info records, that preserve these file attributes.

Describe alternatives you've considered

Use the unzip command line program to do the job.

Additional context

I understand that these extra operating system specific file attributes are non-standard and should probably be ignored by default. But it would be good to get access to them somehow.

@IngelaAndin IngelaAndin added the team:VM Assigned to OTP team VM label Mar 4, 2024
@bjorng bjorng added the stalled waiting for input by the Erlang/OTP team label Mar 12, 2024
@bjorng bjorng added this to the OTP-28.0 milestone Mar 12, 2024
@bjorng
Copy link
Contributor

bjorng commented Mar 12, 2024

After the first release candidate, we generally focus on bug fixes and polishing of features already included or planned for the release. To ensure that Erlang/OTP 27 will be as good as it possibly can be, we need to minimize the time we spend on things not to be included in the release. Therefore, we will not review this feature request until after OTP 27 has been released. If we have not came back to it before September, feel free to remind us.

@aymanosman
Copy link
Author

Thanks. I appreciate the work you are doing.

@bjorng
Copy link
Contributor

bjorng commented Jun 3, 2024

This pull request #8537, whose primary purpose is support for Zip64, implements parts of what you need. We are not really planning to do any more, but we are open for pull requests to extend the functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement stalled waiting for input by the Erlang/OTP team team:VM Assigned to OTP team VM
Projects
None yet
Development

No branches or pull requests

3 participants