Messages in this thread | | | Date | Thu, 20 Jul 2006 11:35:57 +0200 | From | Frank van Maarseveen <> | Subject | Re: [PATCH 2.6.18-rc1] Make group sorting optional in the 2.6.x kernels |
| |
On Thu, Jul 20, 2006 at 08:17:47AM +1200, Bill Ryder wrote: [...] > As an aside Frank - can you point at a paper which provides a > walkthrough of how your patch works and what the caveats are?
http://www.frankvm.com/nfs-ngroups/README
> For example > > /top(0)/p1(2)/p3(2)/p4(2)/p5(6)/file1(6) > /top(0)/p1(2)/p3(2)/p4(2)/p6(7)/file2(7) > /top(0)/p1(2)/p3(2)/p4(2)/p7(8)/file3(6) > /top(0)/p1(2)/p3(2)/p4(2)/p7(8)/file4(8) > > And so on - where the (n) indicated the (gid) for that directory/file. > So most of our directories are in the same group. But as you get further > down the tree the groups start to change. > > The process will belong to > 16 groups.
setgroups() require privilege. I don't understand how the above is supposed to work for non-root users needing >16 groups. And when you're root it is silly to play these group games for getting access.
-- Frank - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |