Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Ignore EACCES when doing non-pure globbing
> On Jan 12, 2021, at 5:42 PM, Devin Hussey <husseydevin@xxxxxxxxx> wrote:
>
> Even if we can't access a parent folder, there is still a chance we can
> access a subdirectory.
I might be mistaken (entirely possible!), but this behavior seems
to violate POSIX volume 3 chapter 2 section 2.13.3, which states
in part that
Specified patterns shall be matched against existing filenames
and pathnames, as appropriate. Each component that contains a
pattern character shall require read permission in the directory
containing that component. Any component, except the last, that
does not contain a pattern character shall require search permission.
(https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_13_03)
vq
Messages sorted by:
Reverse Date,
Date,
Thread,
Author