You are not logged in.
I've setup NFSv4. Trying to mount an exported share without using root or sudo. But it gives the error "mount: only root can do that" to which I say, nuh-uh.
By the way, I can mount fine using root and sudo. So I know the basics are setup.
After browsing through a few forums, I keep coming across the mount option of "user" and "users" which I'm familiar with. When I add it in as an option to /etc/fstab, it tells me that an invalid option was specified. When I remove it, it goes back to the root error.
I've also checked the folder permissions. Mounting TO a folder in my own /home/ folder. On the server, I gave the folder being exported 777 permisssions.
Any suggestions?
Last edited by HuckleSmothered (2012-06-25 20:34:03)
Offline
I use autofs for auto-mounting and I can access the NFS shares as my user. Are you planning on using auto-mount or just manual mounting?
And how are you adding the user option in fstab? Are you adding the comma correctly between different options?
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
No, not planning on using auto-mounting.
Thank you for asking about the options. I thought I had my options correct.
rw,no_root_squash,users
This causes the "incorrect mount option was specifed" error and not even root can mount.
When I take out users I can at least mount with root.
So I simplified my options:
rw, users
Now it works. Apparently the no_root_squash and the users options are not compatible.
Thank you.
Offline