Bug 250077
Summary: | RHEL4 du doesn't report size of unreadable sub directories | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Jose Plans <jplans> | ||||
Component: | coreutils | Assignee: | Tim Waugh <twaugh> | ||||
Status: | CLOSED ERRATA | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4.5 | CC: | meyering | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | RHBA-2007-0786 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-11-15 16:09:35 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 250087, 250089 | ||||||
Attachments: |
|
Description
Jose Plans
2007-07-30 11:47:52 UTC
Created attachment 160237 [details]
Fix report size of unredable subdirectories.
Nice one! Thanks. That's a bug upstream, too. This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. FYI, I've just applied Jose's patch in upstream gnulib: http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=03e1d492b0 Hi, I'm writing the errata for this and I'm pretty sure this behavior occurs on Red Hat Entperise Linux 5: $ cd /tmp $ mkdir -p du_test/unreadable $ du du_test/ 8 du_test/unreadable 16 du_test/ $chmod 000 du_test/unreadable/ $du du_test/ du: `du_test/unreadable': Permission denied 8 du_test/ coreutils: version 5.97, release 12.1.el5 kernel: 2.6.18-8.1.8.el5 Sorry if I've read all of this wrong and it is actually the correct behavior. From this bugzilla I assumed the reponse should be: du test 4 du_test/unreadable du: cannot read directory `du_test/unreadable': Permission denied 12 test Hope this helps. Indeed -- see bug #250087, which this bug blocks. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2007-0786.html |