From owner-freebsd-bugs Sat Jun 15 20:57:42 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from dilbert.robbins.dropbear.id.au (219.b.003.mel.iprimus.net.au [210.50.32.219]) by hub.freebsd.org (Postfix) with ESMTP id C9FC137B410; Sat, 15 Jun 2002 20:57:38 -0700 (PDT) Received: from dilbert.robbins.dropbear.id.au (tim@localhost [127.0.0.1]) by dilbert.robbins.dropbear.id.au (8.12.3/8.12.3) with ESMTP id g5G3vZY2009333; Sun, 16 Jun 2002 13:57:35 +1000 (EST) (envelope-from tim@dilbert.robbins.dropbear.id.au) Received: (from tim@localhost) by dilbert.robbins.dropbear.id.au (8.12.3/8.12.3/Submit) id g5G3uJGU009325; Sun, 16 Jun 2002 13:56:19 +1000 (EST) Date: Sun, 16 Jun 2002 13:56:19 +1000 From: Tim Robbins To: dougb@FreeBSD.org Cc: freebsd-bugs@FreeBSD.org Subject: Re: bin/39318: /bin/mv executes /bin/cp and /bin/rm without -- Message-ID: <20020616135619.A9300@dilbert.robbins.dropbear.id.au> References: <200206151909.g5FJ9e555362@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200206151909.g5FJ9e555362@freefall.freebsd.org>; from dougb@FreeBSD.org on Sat, Jun 15, 2002 at 12:09:40PM -0700 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 On Sat, Jun 15, 2002 at 12:09:40PM -0700, dougb@FreeBSD.org wrote: > Synopsis: /bin/mv executes /bin/cp and /bin/rm without -- > > Responsible-Changed-From-To: freebsd-bugs->tjr > Responsible-Changed-By: dougb > Responsible-Changed-When: Sat Jun 15 12:09:10 PDT 2002 > Responsible-Changed-Why: > > This seems reasonable to me, but I'm wondering if the standards > have anything to say about it. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=39318 Yes, this is a standards problem. It could probably also be a security problem in some obscure cases, too. The proposed solution looks fine, I'll commit it after testing it, then see if any other utilities have similar problems. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message