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

Directories' mode is ignored when extracting archives #139

Open
plamentotev opened this issue Jul 26, 2020 · 2 comments
Open

Directories' mode is ignored when extracting archives #139

plamentotev opened this issue Jul 26, 2020 · 2 comments
Labels

Comments

@plamentotev
Copy link
Member

While debugging #138 I noticed that when extracting archives only the mode for files is set. As a result if given directory in the archive has mode set it is ignored.

@plamentotev plamentotev added the bug label Oct 4, 2020
@vivekme
Copy link

vivekme commented May 12, 2023

Do we have any option/workarounds to exclude a directory while unpack ?

@plamentotev
Copy link
Member Author

Do we have any option/workarounds to exclude a directory while unpack ?

I do not follow how this is related to the issue, but if I understood your question correctly you are looking for UnArchiver#setFileSelectors. It would allow you to select which directories/files are to be extracted. PlexusIO provides an implementation, IncludeExcludeFileSelector.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants