*BSD News Article 32399


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!news.kei.com!ddsw1!not-for-mail
From: dleeds@MCS.COM (Daniel Leeds)
Newsgroups: comp.os.386bsd.questions
Subject: Re: FreeBSD: executables in working dir
Date: 4 Jul 1994 23:02:01 -0500
Organization: MCSNet Subscriber Account, Chicago's First Public-Access Internet!
Lines: 24
Message-ID: <2valvp$egd@Mercury.mcs.com>
References: <2v9of3$46t@ohlone.kn.PacBell.COM> <JKH.94Jul4210444@whisker.hubbard.ie>
NNTP-Posting-Host: mercury.mcs.com
X-Newsreader: TIN [version 1.2 PL2 (KSD)]

Jordan Hubbard (jkh@whisker.hubbard.ie) wrote:
: In article <2v9of3$46t@ohlone.kn.PacBell.COM> smui@news.kn.PacBell.COM (Sherman Mui) writes:

:    I'm having a strange problem. Executables in my current working directory 
:    won't execute. For some reason it doesn't look at them. I have to give an 
:    explicit path.

:    what am I doing wrong?! thanks!

: Sounds like you don't have `.' in your $PATH!

Heh, but don't add it!  Security no no there.  It adds the posibility of 
trojans(no, not the condoms) etc...  Use ./(file) to run it from the 
directory.  

For a stand alone system I guess it doesnt matter but all it takes is one 
little glitch like a script named ls that deletes a hard drive...


-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Daniel Leeds	         "Police want to believe that		FreeBSD 1.1
dleeds@mcs.com	          all hackers are thieves...."	 	   salmacis
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=