@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).
@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).
Yes, you have to use "-o allow_other" when running as root. But it works; that's how I do it (see my post above).
There seem to be some problems though. I cannot "fusermount -u mount_path" because it complains "mount: can't find mount_path in /etc/fstab".
This happens for me as well. I thought about filing a bug report, but I honestly can't find how to do so for the sshfs package... The bugzilla site does not list any of the extras-testing or extras-devel packages. Not creating the fuse group upon install is also a bug IMO, fuse allowing user mounts is the expected behaviour after all.
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.
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.
Did you get fusermount -u to work as well? While I can
Code:
sudo gainroot
umount path/
it would be nice to be able to unmount without root.
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).