Can i store unix permissions in a zip file (built with apache ant)?

前端 未结 7 1678
抹茶落季
抹茶落季 2021-01-02 02:03

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.

The idea is the user unzi

7条回答
  •  情歌与酒
    2021-01-02 02:40

    zip/unzip in modern linux distros will preserve file permissions. But you need to make sure that the zip in windows honours this.

提交回复
热议问题