Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Not sufficient privileges with NFS
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Luc484
Veteran
Veteran


Joined: 26 Mar 2005
Posts: 1035
Location: Italy

PostPosted: Wed Aug 08, 2007 5:31 pm    Post subject: Not sufficient privileges with NFS Reply with quote

Hi! I've been running a NFS server under Gentoo without problems. Now I'm trying to access the NFS server from a new apple laptop with mac os installed. I have no problems in reading from the exports, but it seems I cannot write on some of them. Strangely I can write on some exports and I cannot do it on some others. On some exports I get an error message stating that I don't have sufficient privileges to write. I checked the options in /etc/exports and they are the same for all the exports (async, no_subtree_check, rw, insecure). I tried to check the privileges of the files I'm trying to write to and I see they are the same for files I can write to and for those I cannot. I also tried to give them all the privileges for every users, just to try, and nothing changes. Any idea why it is possible to write in some exports and not to others?
Thank you very much guys!
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1316
Location: /uk/sheffield

PostPosted: Thu Aug 09, 2007 2:06 pm    Post subject: Reply with quote

You might want to try adding the 'no_root_squash' to your options in /etc/exports as without it root is effectively a nobody-user level and can't write.

slack
Back to top
View user's profile Send private message
Luc484
Veteran
Veteran


Joined: 26 Mar 2005
Posts: 1035
Location: Italy

PostPosted: Sat Aug 11, 2007 8:51 am    Post subject: Reply with quote

I added that option to one of the exports but it seems the problems remains. The export which works strangely doesn't have that option. Is there any way to understand what's wrong?
Thanks.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9005
Location: beyond the rim

PostPosted: Sat Aug 11, 2007 3:48 pm    Post subject: Reply with quote

Checked the server logs yet?
Back to top
View user's profile Send private message
Luc484
Veteran
Veteran


Joined: 26 Mar 2005
Posts: 1035
Location: Italy

PostPosted: Sun Aug 12, 2007 10:47 am    Post subject: Reply with quote

I'm looking in /var/log/messages but I see no messages coming from nfs except these:

Code:
Aug 12 12:47:07 cluca nfsd: last server has exited
Aug 12 12:47:07 cluca nfsd: unexporting all filesystems
Aug 12 12:47:07 cluca RPC: failed to contact portmap (errno -5).
Aug 12 12:47:07 cluca mountd[910]: Caught signal 15, un-registering and exiting.
Aug 12 12:47:08 cluca rpc.statd[877]: Caught signal 15, un-registering and exiting.
Aug 12 12:47:08 cluca rpc.statd[20922]: Version 1.0.11 Starting


and I see that error coming from portmap. Is there any other log file? I couldn't find anything else.
Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum