Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
tar/zip unpack changes #1146
so the net result:
archive members are written based on system defaults and umask (i.e. permissions are not preserved), except that regular file members with any execute permissions (user, group, or world) have the equivalent of "chmod +x" applied after being written. Note that for windows, any execute changes using os.chmod are no-ops per the python docs.
Note: this is different than setuptools, which just preserves all permissions.