[juneau-lug] NFS share - Ah Ha!

  • From: Jamie <jamie@xxxxxxxxxxxxxxxxx>
  • To: juneau-lug@xxxxxxxxxxxxx
  • Date: Sun, 08 Jan 2012 15:57:44 -0900

I have a file server on my home network with both NFS and Samba shares.  
Under Fedora my group that had write permission to the NFS share worked 
perfectly.  But when I re-booted to Ubuntu with the exact same users, 
groups, UID's, & GID's it would give an error saying "permission 
denied".  Yesterday I finally stumbled upon the explanation.
>
>         Group Permissions
>
> With NFS, a user's access to files is determined by his/her membership 
> of groups on the client, not on the server. However, there is an 
> important limitation: a maximum of 16 groups are passed from the 
> client to the server, and, if a user is member of more than 16 groups 
> on the client, some files or directories might be unexpectedly 
> inaccessible. 
https://help.ubuntu.com/community/SettingUpNFSHowTo


I had membership in 19 groups under Ubuntu.  I selected some for 
omission that seemed to be unneeded.  Once I reduced this, write 
permission to the NFS share worked correctly.  When I looked at Fedora I 
was only in 4 groups.  So I would assume this is not a distribution 
specific problem (Fedora vs Ubuntu), rather a system wide limitation.  
The difference being that as an "administrator", Ubuntu adds your user 
to LOTS of groups.

So now you know too.  Hope this helps someone else.
-Jamie

-- 
Browns Homepage -http://jdb.homelinux.net
--
Registered Linux User No: 187845https://linuxcounter.net/



------------------------------------
The Juneau Linux Users Group -- http://www.juneau-lug.org
This is the Juneau-LUG mailing list.
To unsubscribe, send an e-mail to juneau-lug-request@xxxxxxxxxxxxx with the 
word unsubscribe in the subject header.

Other related posts:

  • » [juneau-lug] NFS share - Ah Ha! - Jamie