![]() |
Re: Fuse and sshfs?
@Kenchy: are you able to "fusermount -u" the mounted directory?
|
Re: Fuse and sshfs?
The simplest workaround for maemo would be to add something to /etc/sudoers.d that would let you just do "sudo sshfs..."
|
Re: Fuse and sshfs?
@debernardis, I think so, I can't check at the moment, as I have had to hand the n900 to my wife until christmas!
@qole I'm pretty sure running it with sudo won't make any difference. Fuse is intended to be run as by the user that needs the file-system. I have had issues with sshfs run as root (admittedly not on a maemo device). |
Re: Fuse and sshfs?
Quote:
Quote:
|
Re: Fuse and sshfs?
Quote:
Also, has anyone gotten the reconnect option to work? Basically, the ssh-session keeps timing out when the device goes to sleep or switches network, screwing up the mounted sshfs. This is exactly what I thought the '-o reconnect' option was for, but it does not seem to work as expected - the ssh-session still dies after some time of inactivity, or when switching network, without ever reconnecting. |
Re: Fuse and sshfs?
i added the 'fuse' group and 'user' to it after changing the perms on /dev/fuse, it works fine for me now.
-o reconnect works fine for me. i accidentally tested it when i drove home from work (wifi connection). the server was still accessible when i reconnected at home. |
Re: Fuse and sshfs?
Did you get fusermount -u to work as well? While I can
Code:
sudo gainroot I see no practical difference at all in behaviour with or without -o reconnect... In both cases the mount point becomes inaccessible upon any network disconnect. They do give different errors on access, though. Without reconnect I get "transport endpoint not connected", with it I get "Input/output error" (both returned by, for instance, an ls in the parent directory). Do you use any additional ssh-options on the server or client? Ie, I've tried a few values of ServerAliveInterval and similar on the client (to no effect). |
Re: Fuse and sshfs?
bump.. any idea on how to get the fusermount -u to work? using sudo gainroot and umount is quite a lengthy process...
|
Re: Fuse and sshfs?
Look into how to use visudo to give yourself sudo powers.
That way, you can just do 'sudo umount /media/myshare' |
Re: Fuse and sshfs?
@adalal
another possibility would be to create a dedicated shortcut for unmounting, and use this as value for "Exec=": /bin/busybox sh -c 'echo umount /media/mountpoint | sudo gainroot' |
All times are GMT. The time now is 11:48. |
vBulletin® Version 3.8.8