You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, a file added to the archive has 0 (----------) permissions, i.e. when unpacked on linux, you can't open it. By comparison, the default umask for new files on my ubuntu machine is 664 (-rw-rw-r--). The zip crate also uses a similar default of 644: https://docs.rs/zip/latest/zip/write/struct.FileOptions.html#method.unix_permissions
The text was updated successfully, but these errors were encountered:
Reproducer repo: https://github.com/konstin/async-zip-permission
By default, a file added to the archive has 0 (
----------
) permissions, i.e. when unpacked on linux, you can't open it. By comparison, the default umask for new files on my ubuntu machine is 664 (-rw-rw-r--
). Thezip
crate also uses a similar default of 644: https://docs.rs/zip/latest/zip/write/struct.FileOptions.html#method.unix_permissionsThe text was updated successfully, but these errors were encountered: