Paul Eggert wrote:
> I expect I didn't observe the problem on the cfarm OpenBSD 7.7 hosts 
> because I'm in just one group there and a one-group user cannot exercise 
> the bug; whereas it looks like you're in multiple groups.

Indeed, 'id' tells that I am in group 1000(bruno) and in group 0(wheel).

> > The test-fchownat test got a bit further on OpenBSD 7.6, but it still
> > fails:
> > 
> > FAIL: test-fchownat
> > ===================
> > 
> > ../../gltests/test-lchown.h:185: assertion 'st1.st_gid == st2.st_gid' failed
> > ../../gltests/test-lchown.h:192: assertion 'gids[1] == st2.st_gid' failed
> > ../../gltests/test-lchown.h:185: assertion 'st1.st_gid == st2.st_gid' failed
> > ../../gltests/test-lchown.h:192: assertion 'gids[1] == st2.st_gid' failed
> 
> Thanks for reporting that. I think I see the problem, which is fixed in 
> the attached.

Sorry, but it is not fixed. In a testdir of modules
  chown chownat fchownat lchown
I still see the first assertion failure at the same place:

../../gltests/test-lchown.h:185: assertion 'st1.st_gid == st2.st_gid' failed

Bruno




Reply via email to