tarfile forgets set sgid when targetpath has it
Open
Nobody has claimed this yet.
3.7 (EOL)
stdlib
type-bug
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 38286 |
|---|---|
| Files |
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 = None
created_at = <Date 2019-09-26.14:12:19.762>
labels = ['3.7', 'type-bug', 'library']
title = 'tarfile forgets set sgid when targetpath has it'
updated_at = <Date 2019-10-25.13:52:47.303>
user = 'https://bugs.python.org/CharlesCoulombe'
bugs.python.org fields:
activity = <Date 2019-10-25.13:52:47.303>
actor = 'Charles Coulombe'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2019-09-26.14:12:19.762>
creator = 'Charles Coulombe'
dependencies = []
files = ['48678']
hgrepos = []
issue_num = 38286
keywords = ['patch']
message_count = 1.0
messages = ['353305']
nosy_count = 1.0
nosy_names = ['Charles Coulombe']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue38286'
versions = ['Python 2.7', 'Python 3.5', 'Python 3.6', 'Python 3.7']
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the attached tarfile_sgid.patch and the tarfile library code it changes. Reproduce the reported case where targetpath has the setgid bit, then verify that the behavior is covered and the setgid bit is preserved as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100