fuse: unknown option `defer_permissions'

23,834

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.

Share:
23,834

Related videos on Youtube

dhargo
Author by

dhargo

Updated on September 18, 2022

Comments

  • dhargo
    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
      Rahul K Jha about 8 years
      It seems that defer_permissions don't available anymore.
    • bartolo-otrit
      bartolo-otrit over 4 years
      @RahulKJha It's available on macOS. See bytepan's answer
  • User 1058612
    User 1058612 over 7 years
    Digital Ocean is where I saw this as well.
  • Selah
    Selah about 7 years
    I noticed that defer_permissions worked on my Mac, but not on my Ubuntu machine.
  • Mehrad Mahmoudian
    Mehrad Mahmoudian almost 5 years
    when I use default_permissions I cannot see inside the mount (compared to when I din't use it). Therefore I think that the default_permissions simply brings the same ownership from the remote machine to local
  • bartolo-otrit
    bartolo-otrit over 4 years
    osxfuse 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"