[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
removing parent directory messes up path
From: |
b0iler _ |
Subject: |
removing parent directory messes up path |
Date: |
Sat, 30 Mar 2002 13:50:19 -0700 |
Configuration Information:
Machine: i386
OS: linux
Compiler: gcc -I/usr/src/packages/BUILD/bash-2.05
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386'
-DCONF_OSTYPE='linux' -DCONF_MACHTYPE='i386-suse-linux' -DCONF_VENDOR='suse'
-DSHELL -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -I. -I/usr/include -I.
-I./include -I./lib -I/usr/include -O2 -mcpu=i486 -march=i486 -D_GNU_SOURCE
-Wall -pipe
uname output: Linux linux 2.4.10-4GB #1 Fri Sep 28 17:20:21 GMT 2001 i686
unknown
Machine Type: i386-suse-linux
Bash Version: 2.05
Patch Level: 0
Release Status: release
Description:
when you create a directory then delete the directory it is in while in it
bash will mess up when you do cd ..
Repeat-By:
linux:~ # cd /
linux:/ # mkdir problem
linux:/ # cd problem
linux:/problem # mkdir new
linux:/problem # cd new
linux:/problem/new # rm -rf /problem
linux:/problem/new # cd ../
linux:/problem/new # rm -rf /problem
linux:/problem/new # cd ..
cd: could not get current directory: getcwd: cannot access parent
directories: No such file or directory
cd: could not get current directory: getcwd: cannot access parent
directories: No such file or directory
linux:. # cd ..
chdir: could not get current directory: getcwd: cannot access parent
directories: No such file or directory
linux:.. # cd ..
linux:../.. # cd ..
linux:../../.. # cd ..
linux:../../../.. # cd ..
linux:../../../../.. # pwd
../../../../..
linux:../../../../.. #
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- removing parent directory messes up path,
b0iler _ <=