Date: Mon, 22 Mar 2004 20:46:00 +0600 From: "a.s. mitrohin" <swp@uni-altai.ru> To: freebsd-current@freebsd.org Subject: sh bug Message-ID: <405EFC28.1020905@uni-altai.ru>
next in thread | raw e-mail | index | archive | help
helo. builtin cd unable change work directory buf curdir grow anyway. example # mkdir -p /tmp/1/2 # chmod 770 /tmp/1/2 # cd /tmp/1 # touch 1.txt # pwd /tmp/1 # ls -l total 1 drwxrwx--- 2 root wheel 512 22 อมา 11:22 2 -rw-r--r-- 1 root wheel 0 22 อมา 11:22 1.txt # su -m cyrus $ pwd /tmp/1 $ cd 2 cd: can't cd to 2 $ pwd /tmp/1/2 $ ls -l total 1 drwxrwx--- 2 root wheel 512 22 อมา 11:22 2 -rw-r--r-- 1 root wheel 0 22 อมา 11:22 1.txt $ cd 2 cd: can't cd to 2 $ pwd /tmp/1/2/2 $ ls -l total 1 drwxrwx--- 2 root wheel 512 22 อมา 11:22 2 -rw-r--r-- 1 root wheel 0 22 อมา 11:22 1.txt $ cd 2 cd: can't cd to 2 $ pwd /tmp/1/2/2/2 $ ls -l total 1 drwxrwx--- 2 root wheel 512 22 อมา 11:22 2 -rw-r--r-- 1 root wheel 0 22 อมา 11:22 1.txt $ cd . $ pwd /tmp/1 $ ^D /swp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?405EFC28.1020905>