Title: gh-59999:` zipfile:` restore Unix permissions after extraction by Aniketsy · Pull Request #150061 · python/cpython · GitHub
Open Graph Title: gh-59999:` zipfile:` restore Unix permissions after extraction by Aniketsy · Pull Request #150061 · python/cpython
X Title: gh-59999:` zipfile:` restore Unix permissions after extraction by Aniketsy · Pull Request #150061 · python/cpython
Description: fixes #149839 When extracting a zip file, stored Unix permissions were ignored and files always got default permissions instead. Fixed by applying the stored permissions with os.chmod after extraction. Issue: gh-149839 Issue: gh-59999
Open Graph Description: fixes #149839 When extracting a zip file, stored Unix permissions were ignored and files always got default permissions instead. Fixed by applying the stored permissions with os.chmod after extrac...
X Description: fixes #149839 When extracting a zip file, stored Unix permissions were ignored and files always got default permissions instead. Fixed by applying the stored permissions with os.chmod after extrac...
Opengraph URL: https://github.com/python/cpython/pull/150061
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b82384ad-3241-e61b-4f9b-484cd302f9ce |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BBD4:3E6EAA:7E23ED1:B0B4CA5:6A504924 |
| html-safe-nonce | 38d14d17f26643c4d4a7318bb5d3e0f87f532868d0e7a4fb269e34ed34eabe60 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQkQ0OjNFNkVBQTo3RTIzRUQxOkIwQjRDQTU6NkE1MDQ5MjQiLCJ2aXNpdG9yX2lkIjoiNjM4NTM5MDI1OTcyNDgwMjkyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 856abb8e18c9f93982de0ba50e16768c1c16ba164c1ccac36db2d5ebc5fbf338 |
| hovercard-subject-tag | pull_request:3707017848 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/150061/files |
| twitter:image | https://avatars.githubusercontent.com/u/148300120?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/148300120?s=400&v=4 |
| og:image:alt | fixes #149839 When extracting a zip file, stored Unix permissions were ignored and files always got default permissions instead. Fixed by applying the stored permissions with os.chmod after extrac... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | d6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5741a45fe07e5f377d0d4c524a92e3056acc51bb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width