Re: bash-5.0_p1: wildcard expansion bug with unreadable intermediate dir
From:
Chet Ramey
Subject:
Re: bash-5.0_p1: wildcard expansion bug with unreadable intermediate directories
Date:
Fri, 1 Feb 2019 09:39:55 -0500
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.5.0
On 1/31/19 1:44 PM, Andrew Church wrote:
> When expanding a wildcard following a partially quoted pathname,
> expansion fails if an intermediate directory is not readable, even when
> the final directory (the one in which expansion is performed) is
> readable. This does not occur if quotes are not used in the pathname,
> or if the quoted part of the pathname does not cross an unreadable
> directory (compare second and third expansions in the commands below).
>
> This does not occur in unpatched bash-5.0.
There is a fix for this in the latest devel branch push, but I'm not
100% happy with it yet.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
[Prev in Thread]
Current Thread
[Next in Thread]
Re: bash-5.0_p1: wildcard expansion bug with unreadable intermediate directories,
Chet Ramey<=