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 do1
Recipients do1
Date 2012-07-09.02:15:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1341800139.98.0.546402243809.issue15301@psf.upfronthosting.co.za>
In-reply-to
Content
os.chown() can not change uid/gid to valid but high number.

# chown 4294967294.4294967294 a
# ls -l a
-rw-r--r-- 1 4294967294 4294967294 0 Jul  9 05:22 a

# python
Python 2.7.3 (default, Jun 24 2012, 06:19:44)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-52)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.chown("a", 4294967294, 4294967294)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OverflowError: Python int too large to convert to C long
History
Date User Action Args
2012-07-09 02:15:40do1setrecipients: + do1
2012-07-09 02:15:39do1setmessageid: <1341800139.98.0.546402243809.issue15301@psf.upfronthosting.co.za>
2012-07-09 02:15:39do1linkissue15301 messages
2012-07-09 02:15:38do1create