Bug 1459

Summary: PS1 containing \w will cause crash with unreadable directories
Product: [Retired] Red Hat Linux Reporter: tpeland
Component: bashAssignee: David Lawrence <dkl>
Severity: high Docs Contact:
Priority: medium    
Version: 5.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-03-18 16:54:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description tpeland 1999-03-09 20:16:30 UTC
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 16:54:59 UTC
Could not replicate this problem using bash-1.14.7-14