This prevents a pattern with no wildcards from matching in case
permissions is denied.
(cherry picked from commit 31ce98fa91)
This prevents a pattern with no wildcards from matching in case
permissions is denied.
(cherry picked from commit 31ce98fa91)