From: "Daniel Shahaf" <d.s@daniel.shahaf.name>
To: zsh-workers@zsh.org
Subject: Re: [PATCH] Tests for globbing below protected directories
Date: Thu, 04 Feb 2021 13:09:25 +0000 [thread overview]
Message-ID: <8b06b77e-cad6-461b-b598-43e588e8c1e7@www.fastmail.com> (raw)
In-Reply-To: <CAH+w=7Y9_D9aucH7tzi29MBxmJ=-RuPV8Gb-GJUzPM1FkN-bAg@mail.gmail.com>
Bart Schaefer wrote on Wed, 03 Feb 2021 23:06 +00:00:
> On Wed, Feb 3, 2021 at 2:33 PM Bart Schaefer <schaefer@brasslantern.com> wrote:
> >
> > Perhaps, but that's the definition of the difference between
> > "readable" and "searchable" (executable) directories.
>
> Put more concretely:
Yeah, I understand why it happens. It's obvious if one knows that
«foo/*» is implemented by readdir() and «foo/bar» by stat(). The thing
is, someone who learnt glob patterns as a black box might not be
familiar with the relevant syscall/permission semantics and thus may be
surprised by this behaviour.
next prev parent reply other threads:[~2021-02-04 13:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-25 0:15 Bart Schaefer
2021-01-26 23:56 ` Daniel Shahaf
2021-02-02 2:45 ` Bart Schaefer
2021-02-03 11:22 ` Daniel Shahaf
2021-02-03 22:33 ` Bart Schaefer
2021-02-03 23:06 ` Bart Schaefer
2021-02-04 13:09 ` Daniel Shahaf [this message]
2021-02-04 21:34 ` Bart Schaefer
2021-02-06 12:15 ` Daniel Shahaf
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=8b06b77e-cad6-461b-b598-43e588e8c1e7@www.fastmail.com \
--to=d.s@daniel.shahaf.name \
--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).