Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200972 - gentoo-sources should include nfs-ngroups patch
Summary: gentoo-sources should include nfs-ngroups patch
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://www.frankvm.com/nfs-ngroups/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-02 02:57 UTC by Kevin Bryan
Modified: 2007-12-03 03:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Bryan 2007-12-02 02:57:23 UTC
http://www.frankvm.com/nfs-ngroups/ contains a patch for kernel versions 2.4.19-2.4.31 and 2.6.10-2.6.23 that contains a workaround for NFS only allowing 16 supplemental groups to be passed to the server (whereas 32 groups are allowed locally).  The patch finds the "relevant" gids for the file being accessed.  Without this patch, shell users can use 'newgrp', but non-shell users can't access files they should be able to.

Please consider adding the patch to genpatches.

Thanks.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-12-02 09:11:16 UTC

*** This bug has been marked as a duplicate of bug 154936 ***
Comment 2 Kevin Bryan 2007-12-03 03:09:15 UTC
(In reply to comment #1)
> 
> *** This bug has been marked as a duplicate of bug 154936 ***
> 

It's not a duplicate of that bug, precisely.  That bug asks if it's a limitation of the protocol, which it is.  This bug (enhancement) is a request to use include a long-standing workaround that many people have found very useful.  The workaround does not change the protocol at all, so it won't introduce incompatibilities.  The patch provides the server with a list of group id's that include those of the file being accessed (if the user is in any such group).

If you decide to not include the patch, please provide a reason when closing this bug again.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-12-03 03:13:41 UTC
See http://dev.gentoo.org/~dsd/genpatches/faq.htm