<p dir="auto">On Mac:</p>
<p dir="auto">When using unarchive to unzip a .zip file, the destination output gets "drwxrwxrwx" permissions, which are not the same as the original zip file. If I unzip the original with "unzip" manually, I get the correct permissions.</p>
<p dir="auto">I'm aware of the "mode=" however doing "mode=u=rwX,g=rX,o=rX" leaves all files with executable bits turned on, whereas "mode=u=rw,g=r,o=r" leaves directories un-enterable, so I'm not able to achieve the desired permissions without a second task to call a command to do another chmod.</p>
<h5 dir="auto">ISSUE TYPE</h5>

<ul dir="auto">
<li>Feature Idea</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">Patch module</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">Add an option such as <code class="notranslate">template=true</code>, supporting <code class="notranslate">jinja2</code> templates like <code class="notranslate">src=foo.patch.j2</code>, so that variables become available from inside the patch.</p>