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

Allow setting mode for all Builder::append_* methods? #345

Open
iwinux opened this issue Nov 8, 2023 · 0 comments
Open

Allow setting mode for all Builder::append_* methods? #345

iwinux opened this issue Nov 8, 2023 · 0 comments

Comments

@iwinux
Copy link

iwinux commented Nov 8, 2023

Hi,

I'd like to control the mode / permission of files that are added to the archive, but it's very tedious to implement with current public APIs. Basically I need to copy all the append_* code from builder.rs to allow setting mode for append_dir_all and append_path_with_name.

It would be great if we can have something like append_dir_all_with_mode or something like that.

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