-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Linux binary releases as ZIP lose executable permissions #453
Comments
well, the original zip format from 1989 could not store permission bits. But this changed in the more than two decades ago when the "extra field" was introduced. In the "extra field" you specify the information as operating system and data pairs. This means you can embed native DOS, NT as well as UNIX file modes at the same time. Most zip packagers typically include native UNIX file mode mappings for better compatibility. The packaging script also adds UNIX file modes to each zip file entry: But this meta information, is accidentally overwritten at a later stage, by an incorrect wildcard match. But I would suggest to use the app image, if you are on Linux. All you need to do is, downloading the file, then chmod the download and you are done. No need for unzipping, because everything is contained in a single file. |
Thanks! Happy to check it for the next release. |
Hi, the ZIP releases lik
sieve-0.5.3-linux-x64.zip
on https://github.com/thsmi/sieve/releases/tag/0.5.3 are not very useful to Linux users because ZIP cannot carry file permissions, so if you try to run it you get:If one try to fix it it still fails because other files don't have the right permisisons:
Could you switch to
.tar.gz
or a similar format that keeps executable permissions (chmod
+x
bits)?Thanks!
The text was updated successfully, but these errors were encountered: