Ubuntu – fuse: unknown option `defer_permissions’

fusepermissionssshfs

The following error is given when trying to connect to a remote host using sshfs on Ubuntu (16.04 LTS):

fuse: unknown option `defer_permissions'

after using the command:

sshfs -o allow_other,defer_permissions username@remotehost.com:/ /mnt/connected/

which is provided in this Digital Ocean tutorial.

Removing the option "defer_permissions" allows the command to successfully execute, and the remote host folder is mounted to the local /mnt/connected/; however, the permissions appear incorrect.

If "defer_permissions" is an unknown option, what option should be used to get the correct permissions when mounting a folder with sshfs?

Best Answer

Having looked at the sshfs man page, I'd say that defer_permissions does not exist as an option. However, default_permissions is listed.

I've used this and so far it's working for me.

Could there be a typo in the instructions you were following? (Would it be https://www.digitalocean.com/community/tutorials/how-to-use-sshfs-to-mount-remote-file-systems-over-ssh by any chance?)

I'm sticking with the typo theory unless anyone else knows better.