Zipfile.extractall does not preserve file permissions

Open
#59,999 28 comments 11 reactions 1 assignee View on GitHub

@serhiy-storchaka is already working on this.

Since Aug 19, 2014.

Assessment

This issue has not been assessed yet.

Description

3.11 stdlib type-feature
BPO 15795
Nosy @ronaldoussoren, @abalkin, @gustaebel, @pitrou, @kmtracey, @merwok, @bitdancer, @PCManticore, @serhiy-storchaka, @mikofski, @nanjekyejoannah, @woodruffw, @Makishima, @selimb, @dignissimus
PRs
  • python/cpython#17790
  • python/cpython#32289
  • Files
  • issue15795.patch
  • issue15795_updated.patch
  • issue15795_cleaned.patch
  • issue15795_test_and_doc_fixes.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/serhiy-storchaka'
    closed_at = None
    created_at = <Date 2012-08-27.22:36:03.648>
    labels = ['type-feature', 'library', '3.11']
    title = 'Zipfile.extractall does not preserve file permissions'
    updated_at = <Date 2022-04-04.14:55:21.787>
    user = 'https://bugs.python.org/uruz'
    

    bugs.python.org fields:

    activity = <Date 2022-04-04.14:55:21.787>
    actor = 'eric.araujo'
    assignee = 'serhiy.storchaka'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2012-08-27.22:36:03.648>
    creator = 'uruz'
    dependencies = []
    files = ['27086', '34852', '34873', '34893']
    hgrepos = []
    issue_num = 15795
    keywords = ['patch']
    message_count = 24.0
    messages = ['169233', '169242', '169629', '174356', '174359', '191425', '191459', '216228', '216267', '216298', '216304', '216376', '225526', '233445', '237139', '261145', '283918', '311328', '378712', '394819', '404877', '416661', '416672', '416674']
    nosy_count = 24.0
    nosy_names = ['ronaldoussoren', 'belopolsky', 'lars.gustaebel', 'pitrou', 'techtonik', 'swarren', 'kmtracey', 'eric.araujo', 'cbrannon', 'r.david.murray', 'Claudiu.Popa', 'serhiy.storchaka', 'uruz', 'Aaron.Train', 'desaintmartin', 'bwanamarko', 'Orborde', 'Glenn.Jones', '\xc3\x89tienne Dupuis', 'nanjekyejoannah', 'yossarian', 'kulakov-n', 'selimb', 'sam_ezeh']
    pr_nums = ['17790', '32289']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue15795'
    versions = ['Python 3.11']
    

    Linked PRs
    • gh-150061
    Dominant language
    Python
    Stars
    77.2k
    Forks
    36k
    Avg merge
    1d 9h
    Merged PRs (30d)
    558

    Contributor guide

    Open the contributing guide

    First steps

    1. Read the whole issue, then the project's contributing guide.
    2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
    3. Fork the repository and make your change on a branch.
    4. Open a pull request that references the issue number.

    More from python/cpython

    All issues in python/cpython

    Similar issues

    More Python issues

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.