bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash-5.0_p1: wildcard expansion bug with unreadable intermediate dir


From: Andrew Church
Subject: Re: bash-5.0_p1: wildcard expansion bug with unreadable intermediate directories
Date: Fri, 01 Feb 2019 04:20:56 +0900

>When expanding a wildcard following a partially quoted pathname,
[...]
>Test case:

I edited the commands in the test case when an additional thought
occurred to me (the a/"b vs. a/b" distinction) but forgot to update
the corresponding output lines.  My apologies.  Proper test case:

bash-5.0$ chmod 700 /tmp/a
bash-5.0$ rm -r /tmp/a
bash-5.0$ mkdir -m700 /tmp/a /tmp/a/b
bash-5.0$ touch /tmp/a/b/c
bash-5.0$ echo /tmp/a/b/* "/tmp/a/"b/* "/tmp/a/b"/*
/tmp/a/b/c /tmp/a/b/c /tmp/a/b/c
bash-5.0$ chmod -r /tmp/a
bash-5.0$ echo /tmp/a/b/* "/tmp/a/"b/* "/tmp/a/b"/*
/tmp/a/b/c /tmp/a/b/c /tmp/a/b/*

  --Andrew Church
    http://achurch.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]