From owner-freebsd-questions@FreeBSD.ORG Sun Jan 4 16:59:40 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23972106566C for ; Sun, 4 Jan 2009 16:59:40 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from mx-out.forthnet.gr (mx-out.forthnet.gr [193.92.150.104]) by mx1.freebsd.org (Postfix) with ESMTP id 85F2E8FC17 for ; Sun, 4 Jan 2009 16:59:39 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from mx-av-05.forthnet.gr (mx-av.forthnet.gr [193.92.150.27]) by mx-out-05.forthnet.gr (8.14.3/8.14.3) with ESMTP id n04GxbrK016551; Sun, 4 Jan 2009 18:59:38 +0200 Received: from MX-IN-01.forthnet.gr (mx-in-01.forthnet.gr [193.92.150.23]) by mx-av-05.forthnet.gr (8.14.3/8.14.3) with ESMTP id n04Gxbbj032659; Sun, 4 Jan 2009 18:59:37 +0200 Received: from kobe.laptop (ppp160-148.adsl.forthnet.gr [194.219.40.148]) by MX-IN-01.forthnet.gr (8.14.3/8.14.3) with ESMTP id n04GxUmT020665; Sun, 4 Jan 2009 18:59:31 +0200 Authentication-Results: MX-IN-01.forthnet.gr smtp.mail=keramida@ceid.upatras.gr; spf=neutral Authentication-Results: MX-IN-01.forthnet.gr header.from=keramida@ceid.upatras.gr; sender-id=neutral Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id n04GxUvj014208; Sun, 4 Jan 2009 18:59:30 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id n04GxT4k014207; Sun, 4 Jan 2009 18:59:29 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Tim Kellers References: <4960E864.5060104@wallnet.com> Date: Sun, 04 Jan 2009 18:59:29 +0200 In-Reply-To: <4960E864.5060104@wallnet.com> (Tim Kellers's message of "Sun, 04 Jan 2009 11:48:36 -0500") Message-ID: <87k59bhury.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd general questions Subject: Re: PATH braincramp X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jan 2009 16:59:40 -0000 On Sun, 04 Jan 2009 11:48:36 -0500, Tim Kellers wrote: > I'm having a tussle with one of those things I've done a zillion times, > but now I can't fathom what the heck is wrong. > > When I run flexbackup from a cron job (as root) , the following error is > returned by e-mail to root: > > Errors: > mbuffer not found in $PATH > dump not found in $PATH > restore not found in $PATH > > $PATH is set in root's crontab: $PATH = "/sbin /bin /usr/sbin /usr/bin > /usr/games /usr/local/sbin /usr/local/bin" You are not using `$PATH = xxx yyy' right? Evaluating the variable to extract its _value_ needs a dollar sign, but setting it should not use a dollar sign and the value elements should be separated by ':' like this: PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"