From mmcg@heraclitus.cs.monash.edu.au  Thu Oct 31 04:26:52 1996
Received: from heraclitus.cs.monash.edu.au (heraclitus.cs.monash.edu.au [130.194.64.241])
          by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id EAA26354
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 31 Oct 1996 04:26:51 -0800 (PST)
Received: (from mmcg@localhost) by heraclitus.cs.monash.edu.au (8.7.5/8.7.3) id XAA19673; Thu, 31 Oct 1996 23:26:48 +1100 (EST)
Message-Id: <199610311226.XAA19673@heraclitus.cs.monash.edu.au>
Date: Thu, 31 Oct 1996 23:26:48 +1100 (EST)
From: Mike McGaughey <mmcg@heraclitus.cs.monash.edu.au>
Reply-To: mmcg@heraclitus.cs.monash.edu.au
To: FreeBSD-gnats-submit@freebsd.org
Subject: /bin/sh will not change directory
X-Send-Pr-Version: 3.2

>Number:         1935
>Category:       bin
>Synopsis:       `cd' command on /bin/sh fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 31 04:30:01 PST 1996
>Closed-Date:    Thu Oct 31 20:35:34 MET 1996
>Last-Modified:  Thu Oct 31 20:40:41 MET 1996
>Originator:     Mike McGaughey
>Release:        FreeBSD 2.1-STABLE i386
>Organization:
Monash University
>Environment:

2.1.5-RELEASE

>Description:

csh% mkdir x
csh% chmod 777 x
csh% /bin/sh 
$ cd x
cd: cant cd to x

>How-To-Repeat:

See description.

>Fix:
	
I use bash, but without a statically linked copy,
this is a temporary solution at best.

>Release-Note:
>Audit-Trail:

From: J Wunsch <j@uriah.heep.sax.de>
To: mmcg@heraclitus.cs.monash.edu.au
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/1935: /bin/sh will not change directory
Date: Thu, 31 Oct 1996 20:07:01 +0100 (MET)

 As Mike McGaughey wrote:
 
 > >Description:
 > 
 > csh% mkdir x
 > csh% chmod 777 x
 > csh% /bin/sh 
 > $ cd x
 > cd: cant cd to x
 > 
 > >How-To-Repeat:
 > 
 > See description.
 
 j@uriah 283% mkdir x
 j@uriah 284% chmod 777 x
 j@uriah 285% /bin/sh
 $ cd x
 $ pwd
 /tmp/x
 
 Apparently, it's not _that_ easy as you suggest. :-/
 
 If you've got any pointers on how to really reproduce it, get back
 with all your hints to Steve Price (steve@freebsd.org).
 
 
 Since this is a duplicate PR for bin/986 (and maybe yet another
 duplicate that has been submitted over time), i gonna close it again.
 As i indicated above, somebody is really dealing with it, but it seems
 to happen only under some rare and unknown circumstances, hence it's
 difficult.
 
 -- 
 cheers, J"org
 
 joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
 Never trust an operating system you don't have sources for. ;-)
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Thu Oct 31 20:35:34 MET 1996 
State-Changed-Why:  
This is a dup for PR # bin/986. 

>Unformatted:
