How can I get automount to mount a filesystem without noexec?
Everytime automount mounts this filesystem it puts the noexec option on. How can I get it to mount the filesystem exec?On PCLinuxOS at least automount will automatically add noexec to mount options. Maybe this is just a byproduct of specifying the "user" mount option.
Regardless, in order to get it to mount exec, in /etc/autofs in the file where you specify the mount, put the exec option on. Also you must put it AFTER the user option. The user option wants to force noexec. Apparently these options get processed blindly in order, but don't take my word for it, got ask a maintainer. Short of that, just put exec after user. E.g.:
scott -fstype=nfs,rw,nolock,soft,_netdev,user,exec 192.168.1.1:/raid0/data/scott
Add a Comment
NOTE: Comments are moderated and will not show until approved.