>Number: 156225 >Category: misc >Synopsis: test -x under root in bash shell returns incorrect results >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 06 14:50:14 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Cmyker >Release: 8.1-RELEASE >Organization: >Environment: FreeBSD www3 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: test -x under root in bash shell returns incorrect results
clone60# bash --version GNU bash, version 4.1.7(0)-release (amd64-portbld-freebsd8.1) Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. >How-To-Repeat: Run under root: www3# sh -c 'test -x ~/.cshrc && echo yes' www3# bash -c 'test -x ~/.cshrc && echo yes' yes >Fix: >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"