From owner-freebsd-current@FreeBSD.ORG Mon Mar 22 06:46:33 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D76C016A4CE for ; Mon, 22 Mar 2004 06:46:33 -0800 (PST) Received: from bspu.secna.ru (bspu.secna.ru [212.192.2.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57ADE43D46 for ; Mon, 22 Mar 2004 06:46:18 -0800 (PST) (envelope-from swp@uni-altai.ru) Received: from uni-altai.ru (swp.bspu.secna.ru [212.192.2.73]) (authenticated login=swp bits=0) by bspu.secna.ru (8.12.11/8.12.11) with ESMTP id i2MEk14K094098 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 22 Mar 2004 20:46:02 +0600 (NOVT) (envelope-from swp@uni-altai.ru) Message-ID: <405EFC28.1020905@uni-altai.ru> Date: Mon, 22 Mar 2004 20:46:00 +0600 From: "a.s. mitrohin" Organization: BSPU User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7a) Gecko/20040307 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Tue, 23 Mar 2004 05:46:58 -0800 Subject: sh bug X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: swp@uni-altai.ru List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2004 14:46:34 -0000 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