Jim,
Hope this sheds some light.
Thanks,
Michael...
[EMAIL PROTECTED] chmod]# env VERBOSE=yes make check TESTS=no-x make check-TESTS make[1]: Entering directory `/home/src/coreutils-5.2.1/tests/chmod' + chmod --version chmod (coreutils) 5.2.1 Written by David MacKenzie and Jim Meyering.
Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + . ./../lang-default ++ eval LANG=; export LANG +++ LANG= +++ export LANG ++ eval LANGUAGE=; export LANGUAGE +++ LANGUAGE= +++ export LANGUAGE ++ eval LC_ALL=; export LC_ALL +++ LC_ALL= +++ export LC_ALL ++ eval LC_COLLATE=; export LC_COLLATE +++ LC_COLLATE= +++ export LC_COLLATE ++ eval LC_CTYPE=; export LC_CTYPE +++ LC_CTYPE= +++ export LC_CTYPE ++ eval LC_MESSAGES=; export LC_MESSAGES +++ LC_MESSAGES= +++ export LC_MESSAGES ++ eval LC_NUMERIC=; export LC_NUMERIC +++ LC_NUMERIC= +++ export LC_NUMERIC ++ eval LC_TIME=; export LC_TIME +++ LC_TIME= +++ export LC_TIME + PRIV_CHECK_ARG=require-non-root + . ./../priv-check ++ who=by an unprivileged user +++ id -u ++ my_uid=0 ++ test 0 = 0 ++ test 0 = 0 ++ : nobody +++ id -u nobody ++ coreutils_non_root_uid=511 ++ test 0 = 0 ++ test 511 = 0 ++ give_msg=no ++ setuidgid nobody test -w . ++ exec setuidgid nobody ./no-x + chmod --version chmod (fileutils) 4.1 Written by David MacKenzie.
Copyright (C) 2001 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + . ./../lang-default ++ eval LANG=; export LANG +++ LANG= +++ export LANG ++ eval LANGUAGE=; export LANGUAGE +++ LANGUAGE= +++ export LANGUAGE ++ eval LC_ALL=; export LC_ALL +++ LC_ALL= +++ export LC_ALL ++ eval LC_COLLATE=; export LC_COLLATE +++ LC_COLLATE= +++ export LC_COLLATE ++ eval LC_CTYPE=; export LC_CTYPE +++ LC_CTYPE= +++ export LC_CTYPE ++ eval LC_MESSAGES=; export LC_MESSAGES +++ LC_MESSAGES= +++ export LC_MESSAGES ++ eval LC_NUMERIC=; export LC_NUMERIC +++ LC_NUMERIC= +++ export LC_NUMERIC ++ eval LC_TIME=; export LC_TIME +++ LC_TIME= +++ export LC_TIME + PRIV_CHECK_ARG=require-non-root + . ./../priv-check ++ who=by an unprivileged user +++ id -u ++ my_uid=511 ++ test 0 = 0 ++ test 511 = 0 ++ give_msg=no ++ test no = yes ++ pwd + pwd=/home/src/coreutils-5.2.1/tests/chmod ++ echo ./no-x ++ sed s,.*/,, + t0=no-x.tmp + tmp=no-x.tmp/27051 + trap status=$?; cd $pwd; chmod -R u+rwx $t0; rm -rf $t0 && exit $status 0 + trap (exit $?); exit $? 1 2 13 15 + framework_failure=0 + mkdir -p no-x.tmp/27051 + cd no-x.tmp/27051 + mkdir -p d/no-x/y + chmod u=rw d/no-x + test 0 = 1 + fail=0 + chmod -R o=r d + cat + cmp out exp out exp differ: char 8, line 1 + fail=1 + test 1 = 1 + diff out exp 1c1 < chmod: getting attributes of `d/no-x/y': Permission denied ---
chmod: `d/no-x': Permission denied
+ exit 1 + exit 1 + status=1 + cd /home/src/coreutils-5.2.1/tests/chmod ./no-x: /home/src/coreutils-5.2.1/tests/chmod: Permission denied + chmod -R u+rwx no-x.tmp chmod: getting attributes of `no-x.tmp': No such file or directory + rm -rf no-x.tmp + exit 1 FAIL: no-x ====================================== 1 of 1 tests failed Please report to [EMAIL PROTECTED] ====================================== make[1]: *** [check-TESTS] Error 1 make[1]: Leaving directory `/home/src/coreutils-5.2.1/tests/chmod' make: *** [check-am] Error 2
[EMAIL PROTECTED] rm]# env VERBOSE=yes make check TESTS=fail-2eperm make check-TESTS make[1]: Entering directory `/home/src/coreutils-5.2.1/tests/rm' + rm --version rm (coreutils) 5.2.1 Written by Paul Rubin, David MacKenzie, Richard Stallman, and Jim Meyering.
Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + . ./../lang-default ++ eval LANG=; export LANG +++ LANG= +++ export LANG ++ eval LANGUAGE=; export LANGUAGE +++ LANGUAGE= +++ export LANGUAGE ++ eval LC_ALL=; export LC_ALL +++ LC_ALL= +++ export LC_ALL ++ eval LC_COLLATE=; export LC_COLLATE +++ LC_COLLATE= +++ export LC_COLLATE ++ eval LC_CTYPE=; export LC_CTYPE +++ LC_CTYPE= +++ export LC_CTYPE ++ eval LC_MESSAGES=; export LC_MESSAGES +++ LC_MESSAGES= +++ export LC_MESSAGES ++ eval LC_NUMERIC=; export LC_NUMERIC +++ LC_NUMERIC= +++ export LC_NUMERIC ++ eval LC_TIME=; export LC_TIME +++ LC_TIME= +++ export LC_TIME + PRIV_CHECK_ARG=require-root + . ./../priv-check ++ who=as root +++ id -u ++ my_uid=0 ++ test 0 = 0 ++ test 0 = 0 ++ : nobody +++ id -u nobody ++ coreutils_non_root_uid=511 ++ test 0 = 0 ++ test 511 = 0 ++ give_msg=no ++ test no = yes ++ pwd + pwd=/home/src/coreutils-5.2.1/tests/rm ++ echo ./fail-2eperm ++ sed s,.*/,, + t0=fail-2eperm.tmp + tmp=fail-2eperm.tmp/27133 + trap status=$?; cd $pwd; chmod -R u+rwx $t0; rm -rf $t0 && exit $status 0 + trap (exit $?); exit $? 1 2 13 15 + framework_failure=0 + mkdir -p fail-2eperm.tmp/27133 + cd fail-2eperm.tmp/27133 + chown nobody . + mkdir a + chmod 1777 a + touch a/b + test 0 = 1 + fail=0 ++ setuidgid nobody rm --version ++ sed -n 1s/.* //p + rm_version=4.1 + echo ./fail-2eperm: cannot access required version (5.2.1) of rm ./fail-2eperm: cannot access required version (5.2.1) of rm + fail=1 + setuidgid nobody rm -rf a + onp=Operation not permitted + sed s/Not owner/Operation not permitted/;s/Permission denied/Operation not permitted/ out-t + cat + cmp out exp out exp differ: char 12, line 1 + fail=1 + test 1 = 1 + diff out exp 1,2c1 < rm: cannot unlink `a/b': Operation not permitted < rm: cannot remove directory `a': Directory not empty ---
rm: cannot remove `a/b': Operation not permitted
+ exit 1 + exit 1 + status=1 + cd /home/src/coreutils-5.2.1/tests/rm + chmod -R u+rwx fail-2eperm.tmp + rm -rf fail-2eperm.tmp + exit 1 FAIL: fail-2eperm ====================================== 1 of 1 tests failed Please report to [EMAIL PROTECTED] ====================================== make[1]: *** [check-TESTS] Error 1 make[1]: Leaving directory `/home/src/coreutils-5.2.1/tests/rm' make: *** [check-am] Error 2
_______________________________________________ Bug-coreutils mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/bug-coreutils
