----- Original Message ----- From: "Pádraig Brady" <p...@draigbrady.com> To: "Jim Meyering" <j...@meyering.net> Cc: <bug-coreutils@gnu.org>; "Andreas Schwab" <sch...@linux-m68k.org>; "Eric Blake" <e...@byu.net> Sent: Thursday, November 19, 2009 10:52 AM Subject: Re: stable coreutils-8.1 today, fingers crossed
> Jim Meyering wrote: > > > >>From ce9ff50623ad010fb52c3a4bf18a232eb875137c Mon Sep 17 00:00:00 2001 > > From: Jim Meyering <meyer...@redhat.com> > > Date: Thu, 19 Nov 2009 10:13:22 +0100 > > Subject: [PATCH] tests: avoid spurious failures due to insecure directory in PATH > Hmm, as we're adding /abs/path/to/coreutils/src to the start > of the $PATH, then I'm guessing that this issue is caused > by running from /tmp which is often o+w > Maybe we need to just remove the coreutils/src from > the $PATH for these tests? > > cheers, > Pádraig. > That was the explanation. I checked before the PATH before running make check and not inside pwd-long /path/to/coreutils/src is added at the beginning of PATH And /usr/src was writable by everyone. I fixed that. Then fail-eperm no more fail (did not find a file not owned by the user, so skip). But pwd-long still fail as coreutils-8.1 and src directories are writable by everyone. [chroot-i486] root:/usr/src$ tar xf cache/coreutils-8.1.tar.gz [chroot-i486] root:/usr/src$ ls -ld coreutils-8.1/src drwxrwxrwx 2 root root 4096 Nov 18 18:55 coreutils-8.1/src [chroot-i486] root:/usr/src$ ls -ld coreutils-8.1 coreutils-8.1/src drwxrwxrwx 13 root root 4096 Nov 18 18:55 coreutils-8.1 drwxrwxrwx 2 root root 4096 Nov 18 18:55 coreutils-8.1/src Gilles