Skip to content

runez.decompress() seems to have bug related to file permissions against zip files #40

@X-Engineer-001

Description

@X-Engineer-001

This is a source base zip from https://github.com/ThomasDickey/ncurses-snapshots:
ncurses-snapshots-6_5_20250927.zip
If you use runez.decompress() in Python to decompress it, you'll find that a lot of files that should be executable become non-executable, including the important "./configure". This makes portable-python fail because it utilizes runez for decompressing.

Furthermore, this is a tarball:
ncurses-6.5.tar.gz
If you decompress it with linux command tar then compress it to a .zip with linux command zip, then decompress it again with runez.decompress() in Python, the issue also occurs.

However, decompressing the zip files with linux command unzip provides no issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions