From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079042215538.tru64-unix-managers.marc@archive.invalid> From: Paul Dickison Date: Thu, 06 May 1999 21:53:49 +0000 To: tru64-unix-managers Subject: Summary: Phantom live data Directory -Reply X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079042215538 My thanks to: >>> Serge Munhoven 05/06/99 02:20pm >>> >>> "Dr. Tom Blinn, 05/06/99 >>> "Sharma, Tushar" 05/06/99 02:25pm >>> >>> Richard Bemrose 05/06/99 02:30pm >>> >>> 05/06/99 02:30pm >>> >>> Oisin McGuinness 05/06/99 02:32pm >>> >>> "David J. DeWolfe" 05/06/99 02:36pm >>> >>> Bruce Senn 05/06/99 02:38pm >>> >>> Joseph Thvedt 05/06/99 02:46pm >>> >>> Harold Gabel 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"