Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: P01privileged fails on CentOS/Fedora (a simple permission issue)



> 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




Messages sorted by: Reverse Date, Date, Thread, Author