Posts: 22
Xenos Katawin
Joined: 05 Mar 2008
#1
Hi all

I have 2 boxes. One a 7.0 (Clothos) that got a dist upgrade and another (Atropos) that had a fresh install of 7.2. I installed nfs-common and portmap on both.

On Clothos when root issues"mount 192.168.1.26:/Share /Storage" everything is ok all users can read and write to the nfs share.

On Atropos the same command only allows root to read and write. All others have only read access. I tried adding the mount command to fstab with user,defaut,rw but that didn't make any difference.

The export file has the ip range for exports so the permissions on the server are identical.

I'm pulling my hair out on this one. I have compared everything I can think of on the two client boxes and everything seems identical
Last edited by Xenos Katawin on 08 Aug 2008, 16:30, edited 1 time in total.
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#2
Maybe check the permissions of the actual mount point. Just right click to properties and check for read/write..........
Posts: 73
h2
Joined: 13 Jun 2008
#3

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=492970"
linktext was:"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=492970"
====================================


If you are using debian sid sources, the current 1.1.3 nfs-common is broken, see that bug report for more information.

breaks user write to share/server.
Posts: 22
Xenos Katawin
Joined: 05 Mar 2008
#4
Thank you h2!

It does indeed look like I ran into the broken nfscommon package. Following the discussion in the thread, I managed to get the nfs client to mount with the proper permissions.

The trick is to add"sec=sys" to the options in the fstab.

Code: Select all

192.168.1.26:/Share /Storage nfs sec=sys,user,defaults,noatime 0 0
After adding the options things were perfect.

Off topic- This is a fantastic forum, not too big and busy, but full of knowledgeable readers.

Katawin