Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [bug] Globbing fails with execute-only directory in path
- X-seq: zsh-workers 42557
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Tatsuyuki Ishi <ishitatsuyuki@xxxxxxxxx>
- Subject: Re: [bug] Globbing fails with execute-only directory in path
- Date: Wed, 28 Mar 2018 18:54:26 +0200
- Cc: zsh workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=m8338YZnroHajG406AAHf+BaC9cwsSB5wT427vfSD8k=; b=Jxg+uCg9lX5zbMpxydlgKmr2wub9q2284zQYq8oiTL6Ycpil1fnzSLDkj2m5QtQU+H gGQ/neWRtHRMWcX7C/KxaZ1DGZH7akvM3Cmd+mcirJsciq5XQz74yKU+tUv5AsffIvdK GJHas/umco4W/9EexAU5K9q1/yQCGYh1mxtjQPNgLTIQAsRI4sBMFbbnfLZZhLQNERzg RPg0qGHU3U9aErJHWD+40gal+DG1tXpkm+REt3mq1zcwDt1cISOTvFDQKdMJgpja8v6E SUtYFQIgSKYEYCHn0mfKMjdo9ABwCFze4A2GRH91d6C40vFqSngQBx5jSAM5iva/Bf/i V0sQ==
- In-reply-to: <CANqewP0Rb=yKiKzME3Xg6DX9H75a6-y=sH4QcoArTu8zsbmNgQ@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CANqewP0Rb=yKiKzME3Xg6DX9H75a6-y=sH4QcoArTu8zsbmNgQ@mail.gmail.com>
On Wed, Mar 28, 2018 at 3:35 PM, Tatsuyuki Ishi <ishitatsuyuki@xxxxxxxxx> wrote:
> Globs fail to work when one of the directory component is execute-only
> (not readable). This is the case on Android (/data/data/ is execute
> only so each app can be isolated).
>
> Reproduction steps:
>
> mkdir -p data/app
> chmod 111 data
> touch data/app/{a,b}
> ls data/app/*
>
> Actual results (zsh 5.4.2):
>
> zsh: no matches found: data/app/*
>
> Expected results (bash):
>
> data/app/a data/app/b
Can't reproduce here. I've used this method for a few years to protect
some directories against accidental rm -rf so i know it works with
older zsh versions than mine too.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author