From owner-freebsd-questions Fri Jan 11 20: 7:54 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.the-i-pa.com (mail.the-i-pa.com [151.201.71.132]) by hub.freebsd.org (Postfix) with SMTP id A1B6237B402 for ; Fri, 11 Jan 2002 20:07:49 -0800 (PST) Received: (qmail 26369 invoked from network); 12 Jan 2002 04:10:35 -0000 Received: from unknown (HELO proxy.the-i-pa.com) (151.201.71.209) by mail.the-i-pa.com with SMTP; 12 Jan 2002 04:10:35 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Bill Moran Organization: Potential Technology To: Tom Kersten , freebsd-questions@freebsd.org Subject: Re: this is not working.... Date: Fri, 11 Jan 2002 22:34:32 -0500 X-Mailer: KMail [version 1.2] References: <20020111073640.67985.qmail@web10003.mail.yahoo.com> In-Reply-To: <20020111073640.67985.qmail@web10003.mail.yahoo.com> MIME-Version: 1.0 Message-Id: <02011122343203.43730@proxy.the-i-pa.com> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Friday 11 January 2002 02:36, Tom Kersten wrote: > Hello again, > > I am having trouble running programs now. I have > cvsup'd my ports tree and it seems to have the correct > umask now (for those of you reading my previous > threads)...but...now when I install a program I can't > run it with any user except the root. I changed > permissions like so: > > #cd /usr/bin/xxxx > #chmod 755 ./xxxx > > It then appears to have a permission allowing users to > execute it, but I still get a "command not found" Log out and log back in. Many shells won't immediately see the new command. I think you can type in "rehash" or "hash" to cause it to reread the list of available programs instead, but don't quote me on that. Logging out and then back in (basically, restarting the shell) always seems to work. -- Bill Moran Potential Technology technical services http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message