NFS GID limit


NFS GID limit

Hi all,
I have a problem with GID and NFS
On RHEL5 server (servA) i export a file system where a directory is owned and perm 2770.


ls -l /dirroot
drwxrwxrwx 4 root root 4096 Nov 24 14:06 fs

ls -ln /dirroot/fs
drwxrws--- 2 0 10021 4096 Nov 24 14:08 prv1
drwxrws--- 2 0 10022 4096 Nov 24 14:06 prv2

On an RHEL5 client (servB) i mount the fs.

Now on servB i can read and write into prv1 (gid=10021), but i have a 'permission denied' when i read prv2.

Naturally mi user (user1) exist via LDAP on every server, groups '10021' and '10022' are defined on every node (via LDAP), and the user is member of both groups

Can anyone help me?

Ivan Ferreira
Honored Contributor

Re: NFS GID limit

NFS has a limitation on the numbers of groups that a user belongs, I thinks is 16. How many groups your users belongs to?


Also, the permissions for the fs directory allows write to others, your security is in risk with this setting.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?

Re: NFS GID limit

Hi Ivan,
in effect the 10021 and 10022 gid are on the limit of the 16th and 17th element in the list of groups for mi user (id userid).