Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 1997 21:03:08 -0500 (EST)
From:      Chuck Robey <chuckr@glue.umd.edu>
To:        Randy DuCharme <randyd@nconnect.net>
Cc:        dg@root.com, Peter Korsten <peter@hw.nl>, current@freebsd.org
Subject:   Re: Can't get `.' off of root's path
Message-ID:  <Pine.OSF.3.95q.970127205954.2115D-100000@uplink.eng.umd.edu>
In-Reply-To: <32ED5069.167EB0E7@nconnect.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 27 Jan 1997, Randy DuCharme wrote:

> David Greenman wrote:
> > 
> > >> What's even worse... if I do an...
> > >>
> > >>    echo $PATH
> > >>
> > >> dot isn't there.
> > >
> > >No idea about that. Not even at the very end?
> > 
> >    Make sure you don't have a ":" (a null path component) at the end, either,
> > since this is equivalent to the current directory ("."). Also make sure that
> > there are no relative path specifications (no leading "/" or contains a "..").
> 
> I've taken the path(s) completely out of .login, .cshrc, /etc/csh.login,
> /etc/csh.cshrc, and, .profile & /etc/profile (just in case I've missed
> some change that made csh read .profile) and it's still there.  Only on
> my current machines, not on my 2.1.5, 2.1.6, or 2.2SNAP machines. 
> 
> Format and start over ??  :)

I have a new machine that I booted from a 2.2 snap, then moved to current.
Root's path (echo $PATH) doesn't include ".", but I get that warning
anyhow.  Functionally speaking, root's path really doesn't include ".", it
can't see executable in the current dir (except via ./), I doublechecked
just in case csh was playing games with me.  The warning seems to be
bogus.

I doublechecked everything, I haven't made a mistake on this.

----------------------------+-----------------------------------------------
Chuck Robey                 | Interests include any kind of voice or data 
chuckr@eng.umd.edu          | communications topic, C programming, and Unix.
9120 Edmonston Ct #302      |
Greenbelt, MD 20770         | I run Journey2 and picnic, both FreeBSD
(301) 220-2114              | version 3.0 current -- and great FUN!
----------------------------+-----------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.95q.970127205954.2115D-100000>