Mariusz Ustyjanczuk wrote:
> I was trying to install coreutils and everything was ok until i type 'make
> check'. I got error:
> 
> < chmod: getting attributes of `d/no-x/y': Permission denied
> > chmod: `d/no-x': Permission denied
> FAIL: no-x
> [...]
> 1 of 5 tests failed
> Please report to [EMAIL PROTECTED]

Thank you for reporting that problem.  It is most appreciated it.

It happens that this bug was just recently reported and diagnosed on
21 Jun 2004 where Jim Meyering wrote the following:

> This is not due to a bug in the tools themselves.
> Rather it is due to a weakness in the test harness
> that's exposed only when running `make check' as root
> and when some other version of a tool like chmod or rm
> is first in your PATH.

Then he includes this patch which has not yet been released but is
still in the development code.  Since the problem was in the test
frame and not in the actual code you can safely ignore this failure
for this release.  It will be fixed in the next release.

Thanks
Bob

2004-06-21  Jim Meyering  <[EMAIL PROTECTED]>

        * tests/priv-check: When running as root, be sure to propagate
        PATH through to the process we exec as non-root.
        Reported by [EMAIL PROTECTED]

Index: tests/priv-check
=================================================================== 
RCS file: /fetish/cu/tests/priv-check,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -u -r1.7 -r1.8
--- tests/priv-check    27 Jul 2003 20:04:48 -0000      1.7
+++ tests/priv-check    21 Jun 2004 17:06:58 -0000      1.8
@@ -60,7 +60,7 @@ case $PRIV_CHECK_ARG:$my_uid in
        echo "$0: skipping this test" 1>&2
        (exit 77); exit
       }
-    exec setuidgid $NON_ROOT_USERNAME $0
+    exec setuidgid $NON_ROOT_USERNAME env PATH=$PATH $0
     ;;
   require-non-root:*) ;;
 esac


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to