Bug 147786
Summary: | Large UID not correctly supported by mkfs.ext2 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Emilio Riva <emilio.riva> |
Component: | e2fsprogs | Assignee: | Eric Sandeen <esandeen> |
Status: | CLOSED ERRATA | QA Contact: | Jay Turner <jturner> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.0 | CC: | sct, srevivo |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 1.40.2-2.fc7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-08-24 05:35:54 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Emilio Riva
2005-02-11 10:05:56 UTC
Reproduced on current e2fsprogs, I will look into this. Still exists in e2fsprogs 1.39 Something simple like this in create_root_dir fixes it up: + uid = getuid(); + inode.i_uid = uid; + inode.i_uid_high = uid >> 16; and similar for guid... [root@neon tmp]# ls -lan /mnt/tmp/ total 13 drwxr-xr-x 3 501666 501666 1024 May 4 18:32 . drwxr-xr-x 4 0 0 28 Jan 23 10:34 .. drwx------ 2 0 0 12288 May 4 18:32 lost+found but, lo and behold, debugfs is confused too: [root@neon tmp]# debugfs testfile debugfs 1.39 (29-May-2006) debugfs: stat . Inode: 2 Type: directory Mode: 0755 Flags: 0x0 Generation: 0 User: 42914 Group: 42914 Size: 1024 File ACL: 0 Directory ACL: 0 ... so looks like uid/gid handling could stand to be audited a bit here. I sent a patch upstream for this: http://www.mail-archive.com/linux-ext4@vger.kernel.org/msg01684.html Ted committed this change upstream: http://thunk.org/hg/e2fsprogs/?rev/e8ee847d6992 For the reporter: is this problem still an issue for you in RHEL4 or 5? (I know the problem exists there; I just don't know if anyone has the requirement in rhel4/5) It should get picked up soon in Fedora when I rebase to 1.40. Thanks, -Eric The problem is currently avoided with an ad hoc script executed via 'sudo' from authorized users, so we can say that's not a true issue on RHEL4 or 5... at least, for us! e2fsprogs-1.40.2-2.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report. e2fsprogs-1.40.2-2.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report. |