Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mounts but not available #59

Open
ekkis opened this issue Jul 2, 2020 · 3 comments
Open

Mounts but not available #59

ekkis opened this issue Jul 2, 2020 · 3 comments

Comments

@ekkis
Copy link

ekkis commented Jul 2, 2020

I followed this guide here: https://jonathansblog.co.uk/sshfs-mount-remote-drive-in-finder and my commands look like this:

# sudo mkdir /Volumes/XX
# sudo sshfs -o reconnect -o volname=XX ekkis@mydomain.net:/ /Volumes/XX

which succeeds in mounting, so my expectation is I would find a nice little icon on my desktop pointing to the file system. but there's no icon. curiously, if I look (ls -a /Volumes) I don't see the XX directory I created!

and if I try to mkdir that directory, it complains it already exists!

crazy. what's up with this?

p.s.

running on OSX Mojave (10.14.6) with OSXFuse 3.10.6 and SSHFS 2.5.0

@mischievous
Copy link

mischievous commented Jul 2, 2020

There is weird stuff that goes on with newer finder versions. OSXFuse will automatically create the directory for you in /Volumes. The entire idea being the fuse project was not to have to use sudo to mount something. Since you are using sudo I think there are other flags you have to pass to get it to work correctly.

If you don't have to use sudo I can toot my own horn and suggest https://github.com/mischievous/macfusion3 it will do the mounting for you, and has options to mount on launch or on ip addresses. I use it to auto connect (kind of the same as reconnect) when my vpn connection to work is established.

@ekkis
Copy link
Author

ekkis commented Jul 6, 2020

but I cannot create directories in /Volumes without sudo

@mischievous
Copy link

You don’t need to. The part of OSX fuse running in the kernel will create the directory for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants