I'm using sshfs in my fstab to mount a filesystem in Ubuntu 18.04.04 LTS:
sshfs#dave@myservergoeshere.com:/remote-dir /mnt/local-mnt fuse rw,exec,user,allow_other,noauto,reconnect,ServerAliveInterval=15,ServerAliveCountMax=3 0 0
It mounts fine, but if I try to execute anything in the path I get:
./some-executable: Permission denied.
The file has execute permissions (and works fine if I am actually ssh'd into the system).
If I use the fstab but include the -oexec option again:
mount /mnt/local-mnt -oexec
Then it works. Why is the fstab 'exec' being ignored?