Red Hat Bugzilla – Bug 81601
stat(2) of files owned by uid > 64K returns bogus uid
Last modified: 2014-08-31 19:24:33 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Description of problem:
When I created a testuser with a uid of 100000, then did an ls -la of
~testuser, the ls showed up as being owned by nfsnobody. AFAICT the files are
actually owned by the testuser, but the stat(2) system call is returning an
incorrect value in the st_uid field. When I su to testuser, id(1) shows the
correct uid and gid, and I can chmod the files. When I su to nfsnobody, id(1)
shows the same uid and gid as ls -l shows for the files, but I cannot chmod or
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.useradd -u 100000 testuser
2.ls -la ~testuser
Actual Results: Files appear to be owned by nfsnobody rather than testuser.
Expected Results: Files should be correctly listed as owned by testuser.
We cant make this type of change to AS2.1 any more. Please open up a RHEL3 or
RHEL4 bug if it is a problem there.