Bug 1459 - PS1 containing \w will cause crash with unreadable directories
PS1 containing \w will cause crash with unreadable directories
Status: CLOSED WORKSFORME
Product: Red Hat Linux
Classification: Retired
Component: bash (Show other bugs)
5.2
i386 Linux
medium Severity high
: ---
: ---
Assigned To: David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-03-09 15:16 EST by tpeland
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-03-18 11:54:28 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description tpeland 1999-03-09 15:16:30 EST
Using bash-1.14.7-13.i386.rpm

Set prompt so that it contains \w. Let's use for example
  PS1='\h:\w\$ '
Move into a directory that you can use but not list. (no
read bit, execute bit exists)
Then move into a directory under that.

Bash will crash immediately.
Comment 1 David Lawrence 1999-03-18 11:54:59 EST
Could not replicate this problem using bash-1.14.7-14

Note You need to log in before you can comment on or make changes to this bug.