tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Paul Dickison <pauld () clackamas ! cc ! or ! us>
To: tru64-unix-managers
Subject: Summary: Phantom live data Directory -Reply
Date: Thu, 06 May 1999 21:53:49 +0000	[thread overview]
Message-ID: <96079042215538.tru64-unix-managers.marc@archive.invalid> (raw)

My thanks to: 
>>> Serge Munhoven <Serge.Munhoven@mema.ucl.ac.be> 05/06/99 02:20pm >>>
>>> "Dr. Tom Blinn,<tpb@doctor.zk3.dec.com> 05/06/99
>>> "Sharma, Tushar" <Tushar.Sharma@Nextel.com> 05/06/99 02:25pm >>>
>>> Richard Bemrose <rb237@phy.cam.ac.uk> 05/06/99 02:30pm >>>
>>> <daiken@regents.edu> 05/06/99 02:30pm >>>
>>> Oisin McGuinness <oisin@sbcm.com> 05/06/99 02:32pm >>>
>>> "David J. DeWolfe" <sxdjd@java.sois.alaska.edu> 05/06/99 02:36pm >>>
>>> Bruce Senn <sennb@union.edu> 05/06/99 02:38pm >>>
>>> Joseph Thvedt <JTHVEDT@larsondoors.com> 05/06/99 02:46pm >>>
>>> Harold Gabel <Harold.Gabel@mci.com> 05/06/99 02:46pm >>>

Your answers were very helpful.

My question was:

On Thu, May 06, 1999 at 02:11:55PM -0700, Paul Dickison wrote:  
We are seeing an odd behavior with our production live data directory.
From anywhere on the system we can type the command: "cd clivedata" and we
will be moved to the /live/clivedata directory.
   
For example; starting from my home directory /usr/users/pauld. 
I can change directory to /usr/users/pauld/temp as we all know with a "cd
temp".  

Now my working directory is /usr/users/pauld/temp. 
From here If I type: "cd clivedata"  My current working directory is now
/live/clivedata.  How can this be?  I would expect to get a "not found"
error message.  
This is just making us a little nervous that our live data could be so
visible.  Could any user do a "rm -R clivedata" from any were on the
system?

_____________________________________________________
_____________________________________________________
The answer was that the directory was in my search path. Via the CDPATH
command in my .profile.
 
"one can set the 'cdpath' environment variable which provides a
list of alternative directories to be searched to find subdirectories for
the 'cd' commands. For example, I have 'cdpath' set to:

$ echo $cdpath
/user/rb237/ ..

If, say, I have the following directory /user/rb237/banana and I'm current
in /user/fred/foo/bar I can changing directory directly to 'banana' simply
by:
$ cd banana"

                 reply	other threads:[~1999-05-06 21:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox