Skip to content

shutil.copytree doesn't give control over directory permissions #44602

@jmcneil

Description

@jmcneil
mannequin
BPO 1666318
Nosy @birkenfeld, @pitrou, @tiran, @devdanzin, @tarekziade, @merwok, @vajrasky
Files
  • makedirs_function.patch
  • test1666318.patch: patch to test_shutil.py testing for copytree preserving permissions
  • test1666318.patch: updated 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 = None
    closed_at = <Date 2013-08-16.17:38:07.237>
    created_at = <Date 2007-02-22.16:26:35.000>
    labels = ['easy', 'tests', 'type-feature', 'library']
    title = "shutil.copytree doesn't give control over directory permissions"
    updated_at = <Date 2013-08-16.17:38:07.213>
    user = 'https://bugs.python.org/jmcneil'

    bugs.python.org fields:

    activity = <Date 2013-08-16.17:38:07.213>
    actor = 'pitrou'
    assignee = 'none'
    closed = True
    closed_date = <Date 2013-08-16.17:38:07.237>
    closer = 'pitrou'
    components = ['Library (Lib)', 'Tests']
    creation = <Date 2007-02-22.16:26:35.000>
    creator = 'j_mcneil'
    dependencies = []
    files = ['24816', '31081', '31316']
    hgrepos = []
    issue_num = 1666318
    keywords = ['patch', 'easy']
    message_count = 16.0
    messages = ['31307', '31308', '31309', '141822', '155580', '155613', '155628', '193900', '193904', '194025', '194028', '194031', '194981', '195355', '195374', '195376']
    nosy_count = 13.0
    nosy_names = ['georg.brandl', 'jlgijsbers', 'thomaswaldmann', 'pitrou', 'catherinedevlin', 'christian.heimes', 'ajaksu2', 'tarek', 'eric.araujo', 'daniel.ugra', 'mcjeff', 'python-dev', 'vajrasky']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue1666318'
    versions = ['Python 3.3', 'Python 3.4']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      easystdlibStandard Library Python modules in the Lib/ directorytestsTests in the Lib/test dirtype-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions