Opened 6 years ago
Last modified 13 months ago
#57676 assigned update
sshfs 2.x unable to create mount points (Sierra/High Sierra and later) — at Initial Version
Reported by: | matt-hammond-bbc (Matt Hammond) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.4 |
Keywords: | Cc: | ||
Port: | sshfs |
Description
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: https://derflounder.wordpress.com/2016/09/21/macos-sierras-volumes-folder-is-no-longer-world-writable/
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.
- Original issue raised for osxfuse: https://github.com/osxfuse/osxfuse/issues/306
- Issue for sshfs: https://github.com/osxfuse/sshfs/issues/27
- The change to sshfs 3.x: https://github.com/libfuse/sshfs/commit/861d308a03319e23286290ee8cffc6fd307e0ec9
Example:
$ sshfs user@SERVER:/ /Volumes/XXXX -oreconnect,volname="SERVERNAME",idmap=user mount: realpath /Volumes/XXXX: No such file or directory
Note: See
TracTickets for help on using
tickets.