SSHFS – How to Fix ‘fuse: bad mount point Permission denied’ Error

fusesshfs

I ran across this error while trying to mount a remote file system to my local host using SSHFS.

The command I was using was in the form of:

sshfs root@remote:/path/to/dir ./localDir
  • I am logged into the local system as root
  • I have a valid SSH key to the remote… I can ssh root@remote and get a prompt
  • I tried setting permissions to both the source and destination 777 just for testing – same error
  • I found lots of similar error messages via search engines, but none of the "bad mount point" results also included "Permission denied." I think this is a distinct issue.

Best Answer

The destination (./local) directory was also a fuse mounted directory.

I didn't intend to mount inside a fuse mount, but it appears that if you do, you get a "permission denied" message instead of a more appropriate message.

Related Topic