[issue15301] os.chown: OverflowError: Python int too large to convert to C long

2012-07-08 Thread do1
New submission from do1 : 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

[issue15301] os.chown: OverflowError: Python int too large to convert to C long

2012-07-08 Thread do1
do1 added the comment: I can add that system is x86_32. Same code in x86_64 result in no error even on older Python version 2.6.6 -- ___ Python tracker <http://bugs.python.org/issue15

[issue15301] os.chown: OverflowError: Python int too large to convert to C long

2012-07-13 Thread do1
do1 added the comment: Problem emerged when well-known backup software (rdiff-backup) is 'crashed' (as in no backups). So I think this is not that theoretical. -- ___ Python tracker <http://bugs.python.o