zsh-workers
 help / color / mirror / code / Atom feed
From: dana <dana@dana.is>
To: "Jun. T" <takimoto-j@kba.biglobe.ne.jp>
Cc: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: P01privileged fails on CentOS/Fedora (a simple permission issue)
Date: Wed, 11 Mar 2020 15:06:24 -0500	[thread overview]
Message-ID: <A9880145-4EFD-4375-B028-BFD52BBA6063@dana.is> (raw)
In-Reply-To: <4563882F-8ACF-4C81-848B-021FE393FBBF@kba.biglobe.ne.jp>

On 10 Mar 2020, at 12:26, Jun. T <takimoto-j@kba.biglobe.ne.jp> wrote:
> If we need to fix this, a possible quick fix would be to use a
> relative path for MODULE_PATH. In the patch below the path
> name 'Modules' is hard coded in re_zsh().

Sorry, i hadn't considered this possibility. It definitely does need fixed
somehow.

I don't really like the idea of hard-coding the MODULE_PATH for one specific
test file; that feels brittle and weird. And we can't do it for the whole test
harness, because then if someone tried to cd into a temp directory or
something in a test it'd randomly break.

The only other workable alternative i can think of right now is to just make
P* files skip when they detect that they can't traverse to the test directory.

Not sure which is preferable. Maybe someone else has a better idea :/

dana


  reply	other threads:[~2020-03-11 20:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-10  2:59 Jun T
2020-03-10 17:26 ` Jun. T
2020-03-11 20:06   ` dana [this message]
2020-03-11 20:26     ` Bart Schaefer
2020-03-12 18:11       ` dana
2020-03-13 10:16         ` Jun T
2020-03-13 14:19           ` dana
2020-03-17  5:34             ` Jun T
2020-04-01 22:35               ` dana

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=A9880145-4EFD-4375-B028-BFD52BBA6063@dana.is \
    --to=dana@dana.is \
    --cc=takimoto-j@kba.biglobe.ne.jp \
    --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).