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

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



On Wed, Mar 11, 2020 at 1:07 PM dana <dana@xxxxxxx> wrote:
>
> 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.

What about reading the UID/GID of the directory to assign defaults of
ZSH_TEST_UNPRIVILEGED_UID and ZSH_TEST_UNPRIVILEGED_GID?



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