zsh-workers
 help / color / mirror / code / Atom feed
From: "Jun. T" <takimoto-j@kba.biglobe.ne.jp>
To: zsh-workers@zsh.org
Subject: Re: P01privileged fails on CentOS/Fedora (a simple permission issue)
Date: Wed, 11 Mar 2020 02:26:19 +0900	[thread overview]
Message-ID: <4563882F-8ACF-4C81-848B-021FE393FBBF@kba.biglobe.ne.jp> (raw)
In-Reply-To: <2682CEC4-4890-4363-A5F0-0431CBCF0C97@kba.biglobe.ne.jp>


> 2020/03/10 11:59, I wrote
> 
> Is this well known? I'm not sure whether this need be fixed.

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().


diff --git a/Test/P01privileged.ztst b/Test/P01privileged.ztst
index c54112bb6..9895e9bf6 100644
--- a/Test/P01privileged.ztst
+++ b/Test/P01privileged.ztst
@@ -113,7 +113,7 @@
       shift
     done
     re_exec "$1" "$2" "$3" "$4" $ZTST_exe $opts -fc \
-      "MODULE_PATH=${(q)MODULE_PATH}; ${(F)@[5,-1]}"
+      "MODULE_PATH=Modules; ${(F)@[5,-1]}"
   }
   #
   # Return one or more random unused UIDs



  reply	other threads:[~2020-03-10 17:27 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 [this message]
2020-03-11 20:06   ` dana
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=4563882F-8ACF-4C81-848B-021FE393FBBF@kba.biglobe.ne.jp \
    --to=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).