Bug 241796 - Group ACLs ignored in NFS when user belongs > 16 groups
Summary: Group ACLs ignored in NFS when user belongs > 16 groups
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel
Version: 4.5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Jeff Layton
QA Contact: Martin Jenner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-05-30 18:24 UTC by James T
Modified: 2014-06-18 07:36 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-06-01 14:58:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description James T 2007-05-30 18:24:10 UTC
Description of problem:

I am trying to workaround the permission denied issues in NFS when a user
belongs to more than 16 supplementary groups. One of the suggested workarounds
is to assign ACLs to the directories. This works fine if I assign an ACL for
each individual user. If I assign an ACL for a group it does not work UNLESS the
user belongs to fewer than 16 groups. 


$ ls -l
drwxr-x---+ 4 data IPTS-142 4096 May 30 09:10 IPTS-142

$ getfacl IPTS-142/
# file: IPTS-142
# owner: snsdata
# group: IPTS-142
user::rwx
group::r-x
group:hfiradmin:r-x
mask::r-x
other::---

$ cd IPTS-142/
-bash: cd: IPTS-142/: Permission denied

$ groups
users test5152005 hfiradmin etc...

Comment 1 Jeff Layton 2007-06-01 14:58:26 UTC
This is NOTABUG. Since you're using groups in your ACL's, you'll be subject to
the same set of limitations as using groups with regular unix permissions. The
RPC spec regrettably specifies a hard limit of 16 groups.

You'll need to specify users individually in your ACL's if you plan to use this
as a workaround.



Note You need to log in before you can comment on or make changes to this bug.