From owner-freebsd-questions Fri Jan 11 5:57: 8 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.27in.tv (roc-66-24-112-7.rochester.rr.com [66.24.112.7]) by hub.freebsd.org (Postfix) with ESMTP id 4447637B405 for ; Fri, 11 Jan 2002 05:57:01 -0800 (PST) Received: (from root@localhost) by mail.27in.tv (8.11.6/8.11.6) id g0BDuxp66621; Fri, 11 Jan 2002 08:56:59 -0500 (EST) (envelope-from cjm2@earthling.net) Received: from 27in.tv (roc-66-24-112-7.rochester.rr.com [66.24.112.7]) by mail.27in.tv (8.11.6/8.11.6av) with SMTP id g0BDuvL66612; Fri, 11 Jan 2002 08:56:58 -0500 (EST) (envelope-from cjm2@earthling.net) Received: from 216.153.201.159 (SquirrelMail authenticated user cjm2) by www.27in.tv with HTTP; Fri, 11 Jan 2002 08:56:58 -0500 (EST) Message-ID: <1232.216.153.201.159.1010757418.squirrel@www.27in.tv> Date: Fri, 11 Jan 2002 08:56:58 -0500 (EST) Subject: Re: this is not working.... From: "C J Michaels" To: In-Reply-To: <20020111073640.67985.qmail@web10003.mail.yahoo.com> References: <20020111073640.67985.qmail@web10003.mail.yahoo.com> X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Cc: X-Mailer: SquirrelMail (version 1.2.3 [cvs]) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by AMaViS perl-11 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 Tom, Try typing the full path to the program, e.g. /usr/bin/xxx (I won't get into putting ports in /usr/bin, that's another topic.) The shell keeps a cache of all the programs that are in it's path, which it generates when that shell is started. I don't know which shell you are using, but if it's csh or tcsh, simply type "rehash" after installing your port. This will rebuild the cache. If it's bourn based "sh, bash, etc..." I believe the command is "hash". This was just discussed yesterday, so you could look through the archives also. --Chris Tom Kersten said: > 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" > error. I have checked my path and it has /usr/bin in > it and never had these problems before trying the > cvsup thing....it seems that that process has > unleashed an infinite number of disasters for > me....(all my fault, of course). My first question > is...why isn't it finding the command? Secondly, why > are things installing w/ the wrong permissions...my > umask is still 022????????? Please help me...I am at > the end of my rope.... > > TIA, > > Thomas -- Chris "I'll defend to the death your right to say that, but I never said I'd listen to it!" -- Tom Galloway with apologies to Voltaire To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message