[issue4591] 32-bits unsigned user/group identifier

Antoine Pitrou report at bugs.python.org
Wed Mar 25 11:58:51 CET 2009


Antoine Pitrou <pitrou at free.fr> added the comment:

I'm not sure hardcoding "2^32 - 1" in the error message is a good idea.

I also think it would be nice to have tests for the "-1" special value:
- check that chown(-1, current_gid) succeeds (and leaves the uid intact)
- check that chown(current_uid, -1) succeeds (and leaves the gid intact)

----------
versions:  -Python 2.5

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


More information about the Python-bugs-list mailing list