Re: defalt nfs mount options
John Spray wrote:
I do some mounts from an nfs server, and I get a few mount options
that I did not specify myself:
To get rid of bits that you didn't specify, you have to specify
something contradictory. This will be done either in /etc/fstab or on
your mount command line using the -o option. See man mount. For
huis:/files/samba on /home/samba type nfs (rw,noexec,nosuid,nodev)
mount -t nfs -o exec huis:/file/samba /home/samba
would ensure that the filesystem is mounted with the exec bit.
When I tap the command into my shell it works, when I add it to
/etc/fstab it does not. I tried that quite a while ago...