[issue10032] os.setuid and os.setgid have unexpected influence on serial module

Ned Deily report at bugs.python.org
Wed Oct 6 20:15:28 CEST 2010


Ned Deily <nad at acm.org> added the comment:

"It could be a feature of os that the groups of the user are set on a os.setuid call? Or would this break compatibility with the standard unix library behaviour?"

The POSIX system interface specification specifically prohibits that: "The setuid() function shall not affect the supplementary group list in any way."

http://www.opengroup.org/onlinepubs/009695399/functions/setuid.html

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10032>
_______________________________________


More information about the Python-bugs-list mailing list