From owner-freebsd-bugs Mon Jun 3 3: 0: 0 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5142637B403; Mon, 3 Jun 2002 02:59:57 -0700 (PDT) Received: (from roam@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g539xvo08208; Mon, 3 Jun 2002 02:59:57 -0700 (PDT) (envelope-from roam) Date: Mon, 3 Jun 2002 02:59:57 -0700 (PDT) From: Message-Id: <200206030959.g539xvo08208@freefall.freebsd.org> To: pyoung@oraclesb.com, roam@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/38818: if [ -w filename ] incorrectly returns results when run as root and testing non-writeable files. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: if [ -w filename ] incorrectly returns results when run as root and testing non-writeable files. State-Changed-From-To: open->closed State-Changed-By: roam State-Changed-When: Mon Jun 3 02:57:35 PDT 2002 State-Changed-Why: The submitter, in a private e-mail message, reported his satisfaction with the explanation that 'test -w' checks for actual access rights and not just file permissions. Still, thanks for your effors towards improving FreeBSD by reporting what you considered a genuine problem! http://www.freebsd.org/cgi/query-pr.cgi?pr=38818 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message