Bug 697472 - python returing negative values
Summary: python returing negative values
Keywords:
Status: CLOSED DUPLICATE of bug 697470
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: python
Version: 6.1
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Dave Malcolm
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-18 12:11 UTC by Zbysek MRAZ
Modified: 2013-07-03 13:13 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-18 12:16:29 UTC
Target Upstream Version:


Attachments (Terms of Use)
Simple python test script (121 bytes, text/plain)
2011-04-18 12:11 UTC, Zbysek MRAZ
no flags Details

Description Zbysek MRAZ 2011-04-18 12:11:31 UTC
Created attachment 492866 [details]
Simple python test script

Description of problem:
when testing bug #628730 found out, that s-c-u is not able to delete homedir of user with hude UID due to python os.lstat() returning negative values for owner and/or group.

Simple python testing script attached

Version-Release number of selected component (if applicable):
python-2.6.6-20.el6.i686

How reproducible:
On 32bit arch. The others are working correctly.

Steps to Reproduce:
1. run the script with file/dir parameter owned by huge UID/GID user.
  
Actual results:
 -2

Expected results:
4294967294

Additional info:
This is not regression against RHEL6.0

Comment 1 Zbysek MRAZ 2011-04-18 12:16:29 UTC

*** This bug has been marked as a duplicate of bug 697470 ***


Note You need to log in before you can comment on or make changes to this bug.