Opened 3 weeks ago

Last modified 3 weeks ago

#57676 assigned update

sshfs 2.x unable to create mount points (Sierra/High Sierra and later)

Reported by: matt-hammond-bbc (Matt Hammond) Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: sshfs

Description (last modified by matt-hammond-bbc (Matt Hammond))

A change in Mac OS Sierra and later has locked down permissions on /Volumes such that it is not possible to create mount points without root privileges. Request that this port be updated to sshfs 3.x to resolve this.

The security changes to Sierra and later:

osxfuse 3.5.0 added support to automatically create mount-points, but sshfs also needed changes to stop it checking that the mount-point already exists. This change has been made to the 3.x branch, but not the 2.x branch.

Example (running High Sierra 10.13.6 with:

  • sshfs @2.10_0
  • osxfuse @3.8.2_0
    $ sshfs user@SERVER:/ /Volumes/XXXX -oreconnect,volname="SERVERNAME",idmap=user
    mount: realpath /Volumes/XXXX: No such file or directory

Change History (2)

comment:1 Changed 3 weeks ago by matt-hammond-bbc (Matt Hammond)

Description: modified (diff)

comment:2 Changed 3 weeks ago by jmroot (Joshua Root)

Owner: set to drkp
Status: newassigned
Note: See TracTickets for help on using tickets.