When unzipping an archive with unzip (e.g. s3://vector-tiles-prod/20180326/a8a6c/all/11/333/744.zip), files have 0000 permissions and need to be manually chmod'd by root to become readable.
The fix appears to be to add
info.external_attr = 0755 << 16L
after
|
info = zipfile.ZipInfo(tile_name, date_time) |
Ditto for
|
zip_info = zipfile.ZipInfo(fmt_data.name, date_time) |