twpayne / chezmoi

Manage your dotfiles across multiple diverse machines, securely.
https://www.chezmoi.io/
MIT License
12.9k stars 478 forks source link

Allow `executable` used on `archive-file` type #3100

Closed latipun7 closed 1 year ago

latipun7 commented 1 year ago

Describe the bug

I don't know this is the intentional or not, so I'm not sure this is bug report or feature request 😅

Since archive-file external type is kind of file type, executable should works too.

To reproduce

Expected behavior

Extracted files should have executable permission.


Tell me if you need more info. Thank you 🙏

twpayne commented 1 year ago

Thanks, good suggestion. This isn't really a bug as the file in the archive did not have the executable bits set, but it's obviously a useful feature to be able to override them. #3102 implements this.

latipun7 commented 1 year ago

Thank you very much 🎉