Re: coreutils-6.9.90 test results for x86_64-linux-gnu
From:
Mike Frysinger
Subject:
Re: coreutils-6.9.90 test results for x86_64-linux-gnu
Date:
Tue, 4 Dec 2007 00:18:16 -0500
User-agent:
KMail/1.9.7
On Monday 03 December 2007, Bob Proulx wrote:
> Mike Frysinger wrote:
> > + echo './../../../tests/cp/preserve-gid: setuidgid -g 1000,1017 1000 cp
> > -p c1 b: 1000 1017 != 1000 1000' ./../../../tests/cp/preserve-gid:
> > setuidgid -g 1000,1017 1000 cp -p c1 b: 1000 1017 != 1000 1000 + exit 1
>
> Can you strace it at this point? This is what I see on my system.
>
> env PATH=/path/to/coreutils/src:$PATH setuidgid -g 1001,1017 1001 strace
> -e fchown cp -p c1 b
> fchown(4, 0, 1017) = -1 EPERM (Operation not permitted)
> fchown(4, 4294967295, 1017) = 0
i'm not seeing the second fchown(), just the first ... full strace attached
-mike
signature.asc Description: This is a digitally signed message part.