title: Can i store unix permissions in a zip file (built with apache ant)?
body: <p>I'm building a linux installer for a Java application, and I end up with an install.jar and a setup.sh that I put in a zip file using ant.</p>
  
  <p>The idea is the user unzips the zip file and then runs setup.sh but the trouble is that they always need to chmod setup.sh first to give themselves execute permissions.</p>
  
  <p>I want to remove this step and Im not sure if the problem part is:</p>
  
  <ol>
  <li>That Im building on Windows</li>
  <li>That Im building with ant zip task</li>
  <li>Or that zips cannot presreve permissions and will always unzip without x permissions.</li>
  </ol>