fuse: unknown option `defer_permissions'
Solution 1
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.
Solution 2
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.
Related videos on Youtube
dhargo
Updated on September 18, 2022Comments
-
dhargo almost 2 years
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
?-
Rahul K Jha about 8 yearsIt seems that defer_permissions don't available anymore.
-
bartolo-otrit over 4 years@RahulKJha It's available on macOS. See bytepan's answer
-
-
User 1058612 over 7 yearsDigital Ocean is where I saw this as well.
-
Selah about 7 yearsI noticed that defer_permissions worked on my Mac, but not on my Ubuntu machine.
-
Mehrad Mahmoudian almost 5 yearswhen I use
default_permissions
I cannot see inside the mount (compared to when I din't use it). Therefore I think that thedefault_permissions
simply brings the same ownership from the remote machine to local -
bartolo-otrit over 4 yearsosxfuse mount options: "The defer_permissions causes osxfuse to assume that all accesses are allowed--it will forward all operations to the file system, and it is up to somebody else to eventually allow or deny the operations"