From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc2) Gecko/20020513
Description of problem:
bash -x condtional expression primitive is broken for root
it tests true for files that don't have execute permission
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1./etc/auto.misc defaults to 644 permissions
2. AS root run, if [ -x /etc/auto.misc ]; echo "true" ; fi
Actual Results: # if [ -x /etc/auto.misc ]; echo "true" ; fi
Expected Results: # if [ -x /etc/auto.misc ]; echo "true" ; fi
comamnd should have just returned
This bug seems to effectively break the auto.misc autofs map for autofs
the bug seems to only occur on xfs filesystems
I suppose that means I need to tell the xfs people and not redhat.
The workaround for bug #66562 in bash 2.05b-6 should fix this as well (though
xfs should be fixed as well).
FYI - This has been fixed in XFS as well.