View previous topic :: View next topic |
Author |
Message |
ecce Tux's lil' helper
Joined: 22 Oct 2005 Posts: 92
|
Posted: Wed Apr 19, 2006 5:13 pm Post subject: sshfs makes mountpoint dissapear |
|
|
I emerged sshfs-fuse and tried mounting a volume via sshfs, and it worked fine. After a reboot however it does not. When I mount the mountpoint dissapears (!??). This is the command I use:
Code: |
sshfs ecce@daisy:/mnt/ftp/ /mnt/daisy
|
It asks for password and accepts the password I type. When I unmount the mountpont shows up again.
What's wrong? |
|
Back to top |
|
|
Havin_it Veteran
Joined: 17 Jul 2005 Posts: 1272 Location: Edinburgh, UK
|
Posted: Sat Jun 03, 2006 11:26 am Post subject: |
|
|
This sounds like what happened to me. I mounted an sshfs volume as root, but when I navigated to it in Konq it had vanished. I'm guessing this is something to do with the "user-space" nature of the underlying fuse module: when I mounted the volume as my normal user, it was fine.
Note: you'll need to own/have write access to the mount-point for your user to mount it. You'll also need to 'modprobe fuse' as root as udev didn't create /dev/fuse for me (I'm about to make enquiries as to whether this can be rectified). |
|
Back to top |
|
|
JeliJami Veteran
Joined: 17 Jan 2006 Posts: 1086 Location: Belgium
|
Posted: Fri Jun 16, 2006 4:09 pm Post subject: |
|
|
typo's can do that, you know
if the directory on the server does not exist, sshfs still pretends to be mounting something
in your directory listing, your mountpoint is gone, but bash-completion still works!
fusermount -u brings it back
is this a bug, or what
Code: | $ sshfs server:/non-existing-dir mountpoint
$ ls -l mountpoint
ls: mountpoint: No such file or directory
$ sudo ls -l mountpoint
ls: mountpoint: Permission denied # <= does this mean root can still see it?
$ sudo su root
# ls
mountpoint
# ls -l
ls: mountpoint: Permission denied
total 0
# exit
$ mount
...
sshfs#david@thin-server-dev:/non-existing-dir on /home/david/mnt/mountpoint type fuse (rw,nosuid,nodev,max_read=65536,user=david)
$ fusermount -u mountpoint
|
_________________ Unanswered Post Initiative | Search | FAQ
Former username: davjel |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|