Re: is there a max number of groups a user can belong to?

From: Bruce Zimmer (b.r.zimmer@WORLDNET.ATT.NET)
Date: Fri Aug 16 2002 - 19:18:17 EDT


I remember that back a number of years ago, in BSD and sysV, a user was
only allowed to belong to 16 groups, (actually I think that the number
was 8 in BSD) and any number of groups above that would not grant any
additional privileges. That limit has been increased and I am not sure
what it is today, but NFS is required to work with many versions of UNIX
and usually that means working at the lowest common denominator, so I
would not be surprised if that were a limit for NFS.

Bruce Zimmer
Central Data Systems
(248) 615-4644 (direct)
(248) 705-9231 (cell)
bzimmer@centraldata.com

-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
Michelle DeVault
Sent: Friday, August 16, 2002 4:43 PM
To: aix-l@Princeton.EDU
Subject: is there a max number of groups a user can belong to?

I'm having some weird permissions problems on NFS
mounted directories.

A user is unable to create/delete files on a
particular NFS mounted directory. If he logs on the
server - no problem. All problems arise from logging
in to a client that has the directory NFS mounted.

>From the client machine, he gets "the file permissions
do not allow the specified action" on trying to remove
a file. The file is owned by another user, but user#1
is in the group assigned to the file, and the group
has w perms on the file. The group on the directory
is different from the group on the file, but user#1 is
in it, and w perms are set on the directory. No
sticky bit set on the directory.

The group that is at the directory level (that user#1
is a member of) happens to be number 20 in a list of
groups that the user belongs to. If I change the
group on the directory to the group that is 16 on the
list that the user belongs to, then the user is able
to delete the file. Any group past 16 assigned to the
directory level produces the above error.

Is this a bug, or am I missing something obvious?

__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:09 EDT