Bug 133449

Summary: root directory not display at prompt
Product: [Fedora] Fedora Reporter: Jason <dravet>
Component: bashAssignee: Tim Waugh <twaugh>
Status: CLOSED NOTABUG QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-09-24 08:10:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jason 2004-09-24 01:56:17 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20040914
Firefox/0.10

Description of problem:
at the bash prompt when I am at /root the prompt shows
[root@pc4331 ~]#
if I cd to / then I see
[root@pc4331 /]#
if I cd to /usr/local I see
[root@pc4331 local]#

I should see 
[root@pc4331 root]# when I am in /root

Version-Release number of selected component (if applicable):
3.0-14

How reproducible:
Always

Steps to Reproduce:
1. goto a prompt
2. cd /root
3.
    

Actual Results:  I see [root@pc4331 ~]#

Expected Results:  I should see [root@pc4331 root]#

Additional info:

Comment 1 Tim Waugh 2004-09-24 08:10:41 UTC
This is expected behaviour when HOME=/root.

Comment 2 Jason 2004-09-24 21:10:54 UTC
Why was the change made?

Comment 3 Tim Waugh 2004-09-27 08:13:04 UTC
This comes from the unpatched package upstream.  I think it's new
behaviour to bash 3.