[issue13315] Unable to deal with large tarfile

Ned Deily report at bugs.python.org
Tue Nov 1 22:44:43 CET 2011


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

The issue is indeed with chown call. The call that fails has a gid of -1, truncated to 4294967295, which is a valid gid on OS X ('nogroup').  The Apple-supplied Python 2.7.1 in OS X 10.7 fails running under sudo as root:

Python 2.7.1 (r271:86832, Jun 16 2011, 16:59:05) 
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
>>> os.chown('/tmp/c', 0, 4294967295)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OverflowError: signed integer is greater than maximum

But the 64-bit OS X python.org 2.7.2 and current Python 2.7 builds do not fail.  The fix for Issue1747858 should be in all of them.  Investigating further.

----------
nosy: +ned.deily

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


More information about the Python-bugs-list mailing list