classification
Title: test_posix chown -1, 0 tests fail if user has group root
Type: behavior Stage: committed/rejected
Components: Tests Versions: Python 3.4, Python 3.3, Python 3.2, 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 2013-02-21 12:45 by serhiy.storchaka. 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) * (Python committer) 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) * (Python committer) Date: 2013-02-20 18:02
Fixed.
msg182538 - (view) Author: R. David Murray (r.david.murray) * (Python committer) 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) * (Python committer) Date: 2013-02-20 21:33
What about this patch?
msg182558 - (view) Author: R. David Murray (r.david.murray) * (Python committer) 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
2013-02-21 12:45:49serhiy.storchakasetstatus: open -> closed
2013-02-21 12:38:02python-devsetmessages: + msg182591
2013-02-20 21:41:18r.david.murraysetmessages: + msg182558
2013-02-20 21:33:26serhiy.storchakasetfiles: + test_posix_chown_root_group.patch
keywords: + patch
messages: + msg182557
2013-02-20 18:24:34r.david.murraysetstatus: closed -> open

messages: + msg182538
2013-02-20 18:02:50serhiy.storchakasetstatus: open -> closed
messages: + msg182536

assignee: serhiy.storchaka
resolution: fixed
stage: needs patch -> committed/rejected
2013-02-20 17:53:45python-devsetnosy: + python-dev
messages: + msg182534
2013-02-20 01:23:11r.david.murraycreate