-- Martin Costabel <[EMAIL PROTECTED]> is rumored to have mumbled on 9. 
August 2006 13:38:56 +0200 regarding Re: [Fink-users] Problem installing 
fink-0.24.25:

> Sebastian Hagedorn wrote:
> []
>> rm: illegal option -- -
>> usage: rm [-f | -i] [-dPRrvW] file ...
>>        unlink file
>> ./fail-2eperm: cannot access required version (5.96) of rm
>> out exp differ: char 5, line 1
>> 1,2c1
>> < rm: a/b: Operation not permitted
>> < rm: a: Directory not empty
>> ---
>>> rm: cannot remove `a/b': Operation not permitted
>> FAIL: fail-2eperm
>
>
> Could you go into the directory
>
> /Volumes/Datengrab/sw/src/fink.build/coreutils-5.96-5/coreutils-5.96/test
> s/rm
>
> and run the following command:
>
>   sudo env VERBOSE=yes make check TESTS=fail-2eperm
>
> This should give some more information about what is really going on here.

OK. I'm a bit bummed that I still don't get it:

[hgd:coreutils-5.96/tests/rm] hgd% sudo env VERBOSE=yes make check 
TESTS=fail-2eperm
Password:
make  check-TESTS
+ rm --version
rm (GNU coreutils) 5.96
Copyright © 2006 Free Software Foundation, Inc.
Dieses Programm ist freie Software. Sie dürfen Kopien davon weitergeben 
gemäß
der GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
Es gibt KEINERLEI GARANTIE, so weit das Gesetz es erlaubt.

Geschrieben von Paul Rubin, David MacKenzie, Richard Stallman und Jim 
Meyering.
+ . ./../lang-default
++ eval 'LANG=C; export LANG'
+++ LANG=C
+++ export LANG
++ eval 'LANGUAGE=C; export LANGUAGE'
+++ LANGUAGE=C
+++ export LANGUAGE
++ eval 'LC_ALL=C; export LC_ALL'
+++ LC_ALL=C
+++ export LC_ALL
++ eval 'LC_COLLATE=C; export LC_COLLATE'
+++ LC_COLLATE=C
+++ export LC_COLLATE
++ eval 'LC_CTYPE=C; export LC_CTYPE'
+++ LC_CTYPE=C
+++ export LC_CTYPE
++ eval 'LC_MESSAGES=C; export LC_MESSAGES'
+++ LC_MESSAGES=C
+++ export LC_MESSAGES
++ eval 'LC_NUMERIC=C; export LC_NUMERIC'
+++ LC_NUMERIC=C
+++ export LC_NUMERIC
++ eval 'LC_TIME=C; export LC_TIME'
+++ LC_TIME=C
+++ 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=4294967294
++ test 0 = 0
++ test 4294967294 = 0
++ give_msg=no
++ test no = yes
++ pwd
+ 
pwd=/Volumes/Datengrab/sw/src/fink.build/coreutils-5.96-5/coreutils-5.96/tests/rm
++ echo ./fail-2eperm
++ sed 's,.*/,,'
+ t0=fail-2eperm.tmp
+ tmp=fail-2eperm.tmp/114
+ 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/114
+ cd fail-2eperm.tmp/114
+ chown nobody .
+ mkdir a
+ chmod 1777 a
+ touch a/b
+ test 0 = 1
+ fail=0
++ setuidgid nobody rm --version
++ sed -n '1s/.* //p'
rm: illegal option -- -
usage: rm [-f | -i] [-dPRrvW] file ...
       unlink file
+ rm_version=
+ echo './fail-2eperm: cannot access required version (5.96) of rm'
./fail-2eperm: cannot access required version (5.96) 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 5, line 1
+ fail=1
+ test 1 = 1
+ diff out exp
1,2c1
< rm: a/b: Operation not permitted
< rm: a: Directory not empty
---
> rm: cannot remove `a/b': Operation not permitted
+ exit 1
+ exit 1
+ status=1
+ cd 
/Volumes/Datengrab/sw/src/fink.build/coreutils-5.96-5/coreutils-5.96/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: *** [check-am] Error 2


--
Sebastian Hagedorn
Ehrenfeldgürtel 156, 50823 Köln, Germany
http://www.spinfo.uni-koeln.de/~hgd/

"Being just contaminates the void" - Robyn Hitchcock

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to