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.

Author serhiy.storchaka
Recipients ajaksu2, brian.curtin, christian.heimes, ezio.melotti, hynek, larry, loewis, ned.deily, petri.lehtinen, pitrou, r.david.murray, ronaldoussoren, sandro.tosi, serhiy.storchaka, sjoerd, tim.golden, tzimmo, vstinner
Date 2012-11-08.15:58:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Here is a patch that introduces four private function for convert an integer to uid_t/gid_t and back, and consistently apply these functions in all cases of uid_t/gid_t conversions.  This should fix this issue and issues 4591, 7365, 15301, and a part of 15989.  Also found and fixed some other uid_t/gid_t related bugs.

Please review and test on Windows and Macintosh.  uid_t/gid_t not used on Windows, need to check whether I right disable this part of the code.  Macintosh has the peculiarities (I found yet one), need to check whether I missed something.

If the patch is good, I will port it to 2.7 and 3.2 (there were many code changes in 3.3).
Date User Action Args
2012-11-08 15:58:16serhiy.storchakasetrecipients: + serhiy.storchaka, loewis, sjoerd, ronaldoussoren, pitrou, vstinner, larry, christian.heimes, ajaksu2, tim.golden, ned.deily, ezio.melotti, r.david.murray, brian.curtin, sandro.tosi, petri.lehtinen, hynek, tzimmo
2012-11-08 15:58:15serhiy.storchakasetmessageid: <>
2012-11-08 15:58:15serhiy.storchakalinkissue2005 messages
2012-11-08 15:58:15serhiy.storchakacreate