2
1
This does not work:
$ touch testfile
$ chmod 777 testfile
$ ls -l testfile
-rwxrwxrwx 1 quinn dialout 0 Apr 18 10:15 testfile
$ ./testfile
-bash: ./testfile: Permission denied
$ sudo ./testfile
sudo: unable to execute ./testfile: Permission denied
I am mounting via this line in my fstab:
sshfs#127.0.0.1:/remote-dir /data/local-dir fuse port=2222,user,uid=1000,allow_other 0 0
note: I am connecting to localhost over port 2222 because I am using a tunnel.
I updated the example to address your question. – quinn – 2014-04-18T15:17:10.473