* Group membership problem
@ 2002-03-04 13:02 Yaroslav Buga
2002-03-04 15:20 ` Jan Hudec
0 siblings, 1 reply; 2+ messages in thread
From: Yaroslav Buga @ 2002-03-04 13:02 UTC (permalink / raw)
To: linux-kernel
Hi,
I have Slackware 7.1 with 2.4.16 kernel. And I have a user who is a member of
a number of groups. Linux can't grant access to the user if the group's
number he is member of is more than 32. For example if he is member of 32
groups - everything is O.K. , but when I make him a member of the 33-rd group
he will not be granted access to resource which is owned by that group.
Is there any limit in Linux for the number of groups to be member of?
And how can I solve that problem?
Thanks guys in advance.
Yaroslav Buga.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Group membership problem
2002-03-04 13:02 Group membership problem Yaroslav Buga
@ 2002-03-04 15:20 ` Jan Hudec
0 siblings, 0 replies; 2+ messages in thread
From: Jan Hudec @ 2002-03-04 15:20 UTC (permalink / raw)
To: linux-kernel
> I have Slackware 7.1 with 2.4.16 kernel. And I have a user who is a member of
> a number of groups. Linux can't grant access to the user if the group's
> number he is member of is more than 32. For example if he is member of 32
> groups - everything is O.K. , but when I make him a member of the 33-rd group
> he will not be granted access to resource which is owned by that group.
> Is there any limit in Linux for the number of groups to be member of?
> And how can I solve that problem?
Unfortunately there is. Secondary group list is soteed in task_struct in an
array. IIRC it's called groups and declared with NGROUPS elements, which is in
turn #defined 32. You can try and change it in the source.
--------------------------------------------------------------------------------
- Jan Hudec `Bulb' <bulb@ucw.cz>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-03-04 15:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-04 13:02 Group membership problem Yaroslav Buga
2002-03-04 15:20 ` Jan Hudec
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®