fuse: unknown option `defer_permissions'
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 [email protected]:/ /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
?
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.
The defer_permissions option fixes some issues on translating filesystem permissions when mounting SSH filesystem from Mac OS.
That's the reason why it's useless (and maybe have been removed from command syntax) when mounting from Ubuntu, while it works when launched from a Mac.