| categories: coding

Solution for ‘disappearing folder’ problem in OSXFUSE+SSHFS

So as you may know, OSXFUSE+SSHFS is a wonderful option for accessing remote servers via sftp in a convenient fashion. I’ve been using it with great pleasure to remotely edit Python scripts in Sublime Text, until the Disappearing Folder Problem came haunting over me.

I’ve found traces of it mentioned here and there, but there were either no solutions or incorrect ones. So I decided to post the one which worked for me.

Essence of the problem: you mount a remote server onto a folder, you can access it perfectly from terminal or e.g. Double Commander1, but the mountpoint folder disappears from Finder or any apps reliant on native file handling capabilities, including the aforementioned Sublime Text.

@synec proposes -o local, but for me it was -o volname=folder which did the trick: sshfs x.y.z.net: folder didn’t work, while sshfs -o volname=folder x.y.z.net: folder did. Finder now sees the folder, and the icon is changed: instead of the regular folder it now shows the same icon as of an external hard disk.

  1. By the way, this is the best orthodox file manager for OS X I’ve found so far (though I didn’t test paid ones who don’t provide a free trial). Even if its interface is neither beautiful nor native, it does the job. The feature set of Commander One is too small, and muCommander didn’t even run. [return]
предыдущий пост · следующий пост