Can't Mount NFS as Non-Root?
hey all,
have googled and search these forums, but nothing quite matches. If I try to mount nfs share as non-root, I get: Code:
# mount -v -t nfs 192.168.3.2:/ /mnt/tmp Any ideas? cheers, |
non root users can only mount shares defined in /etc/fstab. add an entry to fstab, and use the "noauto" option to have it not mounted automatically. you would then just run "mount /mnt/tmp" to mount it as any user.
|
i think adding the user option will allow it to be accessible/mounted by your user too
|
this entry has always been in my fstab:
Code:
192.168.3.2:/ /mnt/nfs nfs rw,noauto,user,timeo=14,hard,intr 0 0 EDIT: my exports file: Code:
/ 192.168.3.0/24(rw,insecure,sync) cheers |
it'll be the command you are trying to use. by specifying the FULL mount command you are implying that fstab is ignored. if you only provide the mountpoint then fstab will be used correctly.
|
Code:
[laptop@main ~]$ mount /mnt/nfs |
All times are GMT -5. The time now is 10:58 AM. |