Issue 17248: test_posix chown -1, 0 tests fail if user has group root (original) (raw)
Issue17248
This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
This issue has been migrated to GitHub: https://github.com/python/cpython/issues/61450
classification
Title: | test_posix chown -1, 0 tests fail if user has group root | ||
---|---|---|---|
Type: | behavior | Stage: | resolved |
Components: | Tests | Versions: | Python 3.2, Python 3.3, Python 3.4, Python 2.7 |
process
Status: | closed | Resolution: | fixed |
---|---|---|---|
Dependencies: | Superseder: | ||
Assigned To: | serhiy.storchaka | Nosy List: | python-dev, r.david.murray, serhiy.storchaka |
Priority: | normal | Keywords: | patch |
Created on 2013-02-20 01:23 by r.david.murray, last changed 2022-04-11 14:57 by admin. This issue is now closed.
Files | |||
---|---|---|---|
File name | Uploaded | Description | Edit |
test_posix_chown_root_group.patch | serhiy.storchaka,2013-02-20 21:33 | review |
Messages (7) | ||
---|---|---|
msg182461 - (view) | Author: R. David Murray (r.david.murray) * ![]() |
Date: 2013-02-20 01:23 |
I'm a member of group root, and the _test_all_chown_common tests that use -1, 0 fail for me, because I'm allowed to set group root on a file. | ||
msg182534 - (view) | Author: Roundup Robot (python-dev) ![]() |
Date: 2013-02-20 17:53 |
New changeset 0383a54347ea by Serhiy Storchaka in branch '2.7': Issue #17248: Fix os.*chown() testing when user has group root. http://hg.python.org/cpython/rev/0383a54347ea New changeset a49bbaadce67 by Serhiy Storchaka in branch '3.2': Issue #17248: Fix os.*chown() testing when user has group root. http://hg.python.org/cpython/rev/a49bbaadce67 New changeset 96b4acb253f8 by Serhiy Storchaka in branch '3.3': Issue #17248: Fix os.*chown() testing when user has group root. http://hg.python.org/cpython/rev/96b4acb253f8 New changeset 8c11bbdbac09 by Serhiy Storchaka in branch 'default': Issue #17248: Fix os.*chown() testing when user has group root. http://hg.python.org/cpython/rev/8c11bbdbac09 | ||
msg182536 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * ![]() |
Date: 2013-02-20 18:02 |
Fixed. | ||
msg182538 - (view) | Author: R. David Murray (r.david.murray) * ![]() |
Date: 2013-02-20 18:24 |
Unfortunately, no it isn't. root isn't my primary group, it just one of the groups I belong to. | ||
msg182557 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * ![]() |
Date: 2013-02-20 21:33 |
What about this patch? | ||
msg182558 - (view) | Author: R. David Murray (r.david.murray) * ![]() |
Date: 2013-02-20 21:41 |
That works. | ||
msg182591 - (view) | Author: Roundup Robot (python-dev) ![]() |
Date: 2013-02-21 12:38 |
New changeset 7a9ea3d08f51 by Serhiy Storchaka in branch '2.7': Issue #17248: Fix os.*chown() testing when user is in root group. http://hg.python.org/cpython/rev/7a9ea3d08f51 New changeset 0f7383e6ced7 by Serhiy Storchaka in branch '3.2': Issue #17248: Fix os.*chown() testing when user is in root group. http://hg.python.org/cpython/rev/0f7383e6ced7 New changeset a4e348c4b5d3 by Serhiy Storchaka in branch '3.3': Issue #17248: Fix os.*chown() testing when user is in root group. http://hg.python.org/cpython/rev/a4e348c4b5d3 New changeset d49685548a7a by Serhiy Storchaka in branch 'default': Issue #17248: Fix os.*chown() testing when user is in root group. http://hg.python.org/cpython/rev/d49685548a7a |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:57:42 | admin | set | github: 61450 |
2013-02-21 12:45:49 | serhiy.storchaka | set | status: open -> closed |
2013-02-21 12:38:02 | python-dev | set | messages: + |
2013-02-20 21:41:18 | r.david.murray | set | messages: + |
2013-02-20 21:33:26 | serhiy.storchaka | set | files: + test_posix_chown_root_group.patchkeywords: + patchmessages: + |
2013-02-20 18:24:34 | r.david.murray | set | status: closed -> openmessages: + |
2013-02-20 18:02:50 | serhiy.storchaka | set | status: open -> closedmessages: + assignee: serhiy.storchakaresolution: fixedstage: needs patch -> resolved |
2013-02-20 17:53:45 | python-dev | set | nosy: + python-devmessages: + |
2013-02-20 01:23:11 | r.david.murray | create |