Red Hat Bugzilla – Bug 241796
Group ACLs ignored in NFS when user belongs > 16 groups
Last modified: 2014-06-18 03:36:25 EDT
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
$ cd IPTS-142/
-bash: cd: IPTS-142/: Permission denied
users test5152005 hfiradmin etc...
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.