[OpenAFS-devel] setgroups() fails to change pag under linux 2.6

Christopher Allen Wing wingc@engin.umich.edu
Fri, 14 Jul 2006 16:03:39 -0400 (EDT)


On Fri, 14 Jul 2006, David Thompson wrote:

> "C. Alex. North-Keys" wrote:
>> Is there anyone working on a PAG system that doesn't squat in the group
>> ID space?  Several sites (ours included) have seen failures relating to
>> the use of group permissions when numeric groups in the auxilliary group
>> ID list cannot be mapped back to group names, even on files outside of
>> the AFS space.
>
> Yes, and under linux 2.6 there are also failures in simply _using_ group permissions on uid/gid based file systems, because the PAG breaks the linux 2.6 assumption that the group list is sorted.

Wow, I wasn't aware of that.  That's not good.

(groups_bsearch())

Sadly I can't volunteer to fix it.

-Chris