[26810] in Athena Bugs
Re: linux 9.4.21: bash
daemon@ATHENA.MIT.EDU (Robert Basch)
Wed Apr 5 19:28:22 2006
In-Reply-To: <1144277783.16136.6.camel@error-not-found.MIT.EDU>
Mime-Version: 1.0 (Apple Message framework v746.3)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <B43C0297-5D29-4266-A6AB-FC585D75BC86@mit.edu>
Content-Transfer-Encoding: 7bit
From: Robert Basch <rbasch@mit.edu>
Date: Wed, 5 Apr 2006 19:28:05 -0400
To: Anders Kaseorg <andersk@mit.edu>
X-Spam-Score: 1.217
X-Spam-Level: * (1.217)
X-Spam-Flag: NO
Cc: bugs@mit.edu, Jacob Morzinski <jmorzins@mit.edu>
Errors-To: bugs-bounces@mit.edu
Hi.
Thanks for your bug report. You are correct; the problem occurs
because the new shell is a child of the gnome-terminal process
started at login, so that this environment set-up code is executed,
although gnome-terminal sets the new process' current directory
to that of the launching process. This invalidates the assumption
made by the set-up code that the current directory is always the
user's home directory.
I have submitted a bashrc patch to fix this; the fix should appear
in a future patch release.
Thanks again for reporting this.
Bob
Robert Basch
Infrastructure Software Development and Architecture
Information Services & Technology