Red Hat Bugzilla – Bug 296631
find fails with "Permission denied" if parent directory lacks 'r' permission
Last modified: 2013-04-12 15:21:47 EDT
Description of problem:
If the directory one level up from the specified path does not have 'x'
permission, find fails with a "Permission denied" error.
This issue is new to RHEL5; it does NOT happen on RHEL4.5.
(Bug also appears to exist in Fedora 7.)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
# mkdir /test
# chmod 711 /test
# mkdir /test/subdir
# touch /test/subdir/file
# su - otheruser
$ find /test/subdir -name file
find: /test: Permission denied
Typo: 'x' permission -> 'r' permission
Thanks for your report.
This issue is fixed in Fedora Rawhide (findutils-4.2.32-1).
Please contact official Red Hat Support at https://www.redhat.com/apps/support/
to allow correct prioritization of this issue in Red Hat Enterprise Linux 5.
Created attachment 302443 [details]
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
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 therefore 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.