View previous topic :: View next topic |
Author |
Message |
Luc484 Veteran
Joined: 26 Mar 2005 Posts: 1035 Location: Italy
|
Posted: Wed Aug 08, 2007 5:31 pm Post subject: Not sufficient privileges with NFS |
|
|
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 |
|
|
slackline Veteran
Joined: 01 Apr 2005 Posts: 1471 Location: /uk/sheffield
|
Posted: Thu Aug 09, 2007 2:06 pm Post subject: |
|
|
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 |
|
|
Luc484 Veteran
Joined: 26 Mar 2005 Posts: 1035 Location: Italy
|
Posted: Sat Aug 11, 2007 8:51 am Post subject: |
|
|
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 |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9532 Location: beyond the rim
|
Posted: Sat Aug 11, 2007 3:48 pm Post subject: |
|
|
Checked the server logs yet? |
|
Back to top |
|
|
Luc484 Veteran
Joined: 26 Mar 2005 Posts: 1035 Location: Italy
|
Posted: Sun Aug 12, 2007 10:47 am Post subject: |
|
|
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 |
|
|
|