From: "Lawrence Velázquez" <vq@larryv.me>
To: Devin Hussey <husseydevin@gmail.com>
Cc: zsh-workers@zsh.org
Subject: Re: [PATCH] Ignore EACCES when doing non-pure globbing
Date: Tue, 12 Jan 2021 18:47:39 -0500 [thread overview]
Message-ID: <C8F03324-5C35-478B-AA59-FD1CAA297B65@larryv.me> (raw)
In-Reply-To: <CAEtFKsvbVi_qeiAhEgKPyp1uasen2TtLj7J0L9gTfQY5NoiGaw@mail.gmail.com>
> On Jan 12, 2021, at 5:42 PM, Devin Hussey <husseydevin@gmail.com> 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
next prev parent reply other threads:[~2021-01-12 23:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-12 22:42 Devin Hussey
2021-01-12 22:48 ` Devin Hussey
2021-01-12 23:47 ` Lawrence Velázquez [this message]
2021-01-13 0:53 ` Devin Hussey
2021-01-13 1:12 ` Devin Hussey
2021-01-13 1:28 ` Bart Schaefer
2021-01-13 1:26 ` Mikael Magnusson
[not found] ` <CAEtFKsuDqhu3USSVCcrt-8rkvA_yAkHt=eU+FY6=pNu+gVogMw@mail.gmail.com>
2021-01-13 2:14 ` Devin Hussey
2021-01-13 3:01 ` Devin Hussey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C8F03324-5C35-478B-AA59-FD1CAA297B65@larryv.me \
--to=vq@larryv.me \
--cc=husseydevin@gmail.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).