bash does not recache a path if the file gets missing
Bug #1596327 reported by
Removed by request
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I'm using Ubutu 16.10 dev with bash 4.3-15ubuntu1 and I'm noticing that bash caches the path of a command if the current bash instance successfully finds it in the $PATH environment variable. But after this caching happened if the file gets missing but reappears at another location bash claims just that the file is in the old path missing. I think in this case bash should withdraw the related cache entry and search again in the $PATH environment variable.
To post a comment you must log in.