From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE,RDNS_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 Received: (qmail 28007 invoked from network); 17 Mar 2020 05:35:13 -0000 Received-SPF: pass (primenet.com.au: domain of zsh.org designates 203.24.36.2 as permitted sender) receiver=inbox.vuxu.org; client-ip=203.24.36.2 envelope-from= Received: from unknown (HELO primenet.com.au) (203.24.36.2) by inbox.vuxu.org with ESMTP; 17 Mar 2020 05:35:13 -0000 Received: (qmail 1146 invoked by alias); 17 Mar 2020 05:34:59 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 45569 Received: (qmail 23473 invoked by uid 1010); 17 Mar 2020 05:34:58 -0000 X-Qmail-Scanner-Diagnostics: from rcpt-expgw.biglobe.ne.jp by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.2/25751. spamassassin: 3.4.2. Clear:RC:0(133.208.98.4):SA:0(-2.6/5.0):. Processed in 1.021431 secs); 17 Mar 2020 05:34:58 -0000 X-Envelope-From: takimoto-j@kba.biglobe.ne.jp X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at spf01.biglobe.ne.jp designates 133.208.98.4 as permitted sender) X-Biglobe-Sender: From: Jun T Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: P01privileged fails on CentOS/Fedora (a simple permission issue) Date: Tue, 17 Mar 2020 14:34:20 +0900 References: <2682CEC4-4890-4363-A5F0-0431CBCF0C97@kba.biglobe.ne.jp> <4563882F-8ACF-4C81-848B-021FE393FBBF@kba.biglobe.ne.jp> <0F4775DE-00AB-49DA-A12C-72E13B60C1F5@dana.is> To: zsh-workers@zsh.org In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3445.104.11) X-Biglobe-Spnum: 4417 > 2020/03/13 23:19, dana wrote: >=20 > I'm less worried about the name of the directory than about its = location, > which i'm not sure is in the test file's purview. I've been mostly worried about using a hard-coded name 'Modules' in = three different files: Test/Makefile.in, ztst.zsh and P01privileged.ztst. > If it's alright for it to > make the assumption that the module directory is under $ZTST_dir Yes, unless someone modifies ztst.zsh (lines 38 and 60). > Though =E2=80=94 and i'm absolutely rationalising after the fact now = =E2=80=94 using the UID > of the test directory will also take care of the case where the repo = itself > has been cloned with umask 027 or 077 (unless it's owned by root...). If we need to take account of a possibility that the 'Test' directory = itself is not world readable/searchable, then, yes, we need to use the UID of its = owner.=