xfs
[Top] [All Lists]

Re: RH7.3 with XFS : /usr/bin/test -x seems broken

To: Nathan Straz <nstraz@xxxxxxx>
Subject: Re: RH7.3 with XFS : /usr/bin/test -x seems broken
From: David Greaves <david@xxxxxxxxxxxx>
Date: Wed, 21 Aug 2002 15:42:38 +0100
Cc: linux-xfs@xxxxxxxxxxx
References: <3D6396DE.9050008@xxxxxxxxxxxx> <20020821141135.GA20157@xxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020530
Nathan Straz wrote:

On Wed, Aug 21, 2002 at 02:34:22PM +0100, David Greaves wrote:
When I use /usr/bin/test, well, [ -x filename ] it always returns true.

Does it only happen when you're root?

See: TAKE - fix root access() and non-executables
http://marc.theaimsgroup.com/?l=linux-xfs&m=102528663319323&w=2

Yep
My searches missed this :)

For the record (and search engines) it was the autofs init.d script that was failing silently and thought my file maps were program maps.

Hmm, seems that this is a fairly easy-to-exercise bug in the RH7.3 XFS kernel.

I'll see what Eric Sandeen did and see if it applies to the src shipped with the RH iso so it can be patched.

David


<Prev in Thread] Current Thread [Next in Thread>