Voelker, Bernhard wrote: > Jim Meyering wrote: >> Did you run it as recommended in README, i.e., >> after building as non-root, run this: >> >> sudo env PATH="$PATH" NON_ROOT_USERNAME=$USER make -k check-root > > no. > I built it as non-root, ran `make check` as non-root, and then > - because I saw that a few tests can only be run as root - just > went there as root and fired `make check` again. > > Here is the output of the above (only 1 FAIL): > > ======================================================= > GNU coreutils 7.4.127-d2510: tests/test-suite.log > ======================================================= > > 1 of 11 tests failed. (9 tests were not run). ... > FAIL: cp/preserve-gid (exit: 1) > =============================== > > ./cp/preserve-gid: setuidgid -g 1000,1001 1000 cp -p c1 b: 1000 1001 != > 1000 1000
Thanks. Maybe it'll be easy to diagnose with more details. Please run this: sudo env PATH="$PATH" NON_ROOT_USERNAME=$USER make -C tests \ TESTS=cp/preserve-gid VERBOSE=yes