[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: negative test -x failed for bash 3.2.25(1)-release (x86_64-pc-solari
From: |
Chet Ramey |
Subject: |
Re: negative test -x failed for bash 3.2.25(1)-release (x86_64-pc-solaris2) |
Date: |
Sun, 26 Aug 2007 14:47:15 -0400 |
User-agent: |
Thunderbird 2.0.0.6 (Macintosh/20070728) |
Cristian Baboi wrote:
>
> In the file eaccess.c , the function sh_eaccess call access(path, mode)
> if test -x is called as root.
> On Solaris x86, access (path,mode) return true regardless of the state
> of executable bit.
Damned if you use custom code in place of access(2), damned if you
don't.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Live Strong. No day but today.
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/