From owner-freebsd-bugs@FreeBSD.ORG Wed Apr 6 18:13:06 2011 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3692D106566C for ; Wed, 6 Apr 2011 18:13:06 +0000 (UTC) (envelope-from cmyk777@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id BDDF58FC0C for ; Wed, 6 Apr 2011 18:13:05 +0000 (UTC) Received: by fxm11 with SMTP id 11so1461122fxm.13 for ; Wed, 06 Apr 2011 11:13:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=ezmdIsC4ZD4acg9oXTtIwfqauOQf2Gk5N5aYnjF4aJM=; b=HawYHRUgxpOzmOFZ6VhPMCr8os43rM8DRJpkUyGsIgLcgwrB3ytM9rcVT1pPNehbW4 kjmnmfnlBgHskPPLJwBCncJw9w8Xgk5SPzqfIuLOmEUhWQYhNvsZlnlY+Ii4zq0MHiyw DlbKVgKkFp06C+zVf3uVWE4Y0pu3XFxYg4Cz8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=nBRk35qgyBJRbR0QFGmG0n2+0dtIplTHQ9sM/2HkeQouPj5V9TN8Ao4ulew9lhfJIB xQGxn3yW5AsPOVqhaOVoLKg/rnqYk0+kPX53XaUvOo0pthxUZ8sCeZ1sqBYX9UO/Sz6Q pDXul9sEP0D2Pzb9gnZE6+RTs9V5eamlRsr3U= Received: by 10.204.130.16 with SMTP id q16mr1101511bks.192.1302111917128; Wed, 06 Apr 2011 10:45:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.76.82 with HTTP; Wed, 6 Apr 2011 10:44:56 -0700 (PDT) In-Reply-To: <201104061718.p36HIc2p047471@freefall.freebsd.org> References: <201104061718.p36HIc2p047471@freefall.freebsd.org> From: Igor Prokopenkov Date: Wed, 6 Apr 2011 20:44:56 +0300 Message-ID: To: remko@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-bugs@freebsd.org Subject: Re: misc/156225: test -x under root in bash shell returns incorrect results X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Apr 2011 18:13:06 -0000 Of course it should! This bug may break logic of some scripts that writen in bash (my script is included). Under Linux test -x returns correct exit status so i guess this bug is related to FreeBSD kernel somehow. On Wed, Apr 6, 2011 at 8:18 PM, wrote: > Synopsis: test -x under root in bash shell returns incorrect results > > State-Changed-From-To: open->feedback > State-Changed-By: remko > State-Changed-When: Wed Apr 6 17:17:51 UTC 2011 > State-Changed-Why: > Hello, > > Bash is a third party application which is not in our base system. > Are you suggesting that bash should behave differently? If so you > should poke the upstream maintainers so that it can be updated/changed, > if not can you please clarify what you mean? > > Thanks > > http://www.freebsd.org/cgi/query-pr.cgi?pr=156225 > -- Best regards, Igor Prokopenkov Zend Certificied Engineer http://zend.com/zce.php?c=ZEND010909 http://linkedin.com/in/igorprokopenkov