On Wed, 2002-08-21 at 08:34, David Greaves wrote:
> Hi
>
> When I use /usr/bin/test, well, [ -x filename ] it always returns true.
>
> I've tried this on two systems now (both installed using the same media,
> both running fine otherwise)
> I don't have any other systems to test against yet - my debian/XFS is down.
> And all my filesystems are XFS... oh well.
>
> Test case is pretty simple:
> # ll /tmp/myfile
> ls: /tmp/myfile: No such file or directory
> # touch /tmp/myfile
> # if [ -x /tmp/myfile ]; then echo yep; fi
> yep
> # ll /tmp/myfile
> -rw-r--r-- 1 root root 0 Aug 21 14:00 /tmp/myfile
> #
>
> Anyone else have this?
>
> I'll try and narrow it down further...
>
> Systems are RH7.3 with 2.4.18-4SGI_XFS_1.1
> installed using the iso and patch (thanks for those BTW)
A CVS kernel does not exhibit this behavior, you might want to
update your kernel.
>
> David Greaves
> (Hello to anyone who knew me when I sysadmin'ed SGI in the UK)
Well, I used to work for Cray in the UK, but that was well before
SGI bought Cray.
Steve
--
Steve Lord voice: +1-651-683-3511
Principal Engineer, Filesystem Software email: lord@xxxxxxx
|