--- ./fs/nfs/dir.c.orig 2005-02-02 23:19:38.000000000 +0100 +++ ./fs/nfs/dir.c 2005-02-02 23:28:44.000000000 +0100 @@ -1577,6 +1577,7 @@ struct rpc_cred *cred; int mode = inode->i_mode; int res; + struct rpc_groups fsg = { 1, { inode->i_gid } }; if (mask == 0) return 0; @@ -1613,7 +1614,7 @@ if (!NFS_PROTO(inode)->access) goto out_notsup; - cred = rpcauth_lookupcred(NFS_CLIENT(inode)->cl_auth, NULL, 0); + cred = rpcauth_lookupcred(NFS_CLIENT(inode)->cl_auth, &fsg, 0); res = nfs_do_access(inode, cred, mask); put_rpccred(cred); unlock_kernel();