hannu Posted January 18, 2009 Report Share Posted January 18, 2009 If you want to use SSHFS (Secure Shell File System) in Mandriva, take this into consideration: install the two packages needed: urpmi sshfs urpmi fuse SSHFS is meant to be used so that you mount the remote file system as regular user, not root: sshfs remoteserver: localmountpoint You will get an error: you don't have permission to use /dev/fuse You can get around this: as root: chmod 666 /dev/fuse This will not stick, the /dev permissions get reset everytime the system boots Here is the more permanent fix: as root, edit /etc/rc.local, add this line at the end: chmod 666 /dev/fuse SHHFS works great. It is much better for mounting file systems in other Unix-like boxes than having to risk using NFS or pretending to be Windows and log into samba drives. Maybe the above issue could be handled in the fuse rpm in future releases. Thank you, Hannu [moved from Networking by spinynorman] Quote Link to comment Share on other sites More sharing options...
tux99 Posted January 18, 2009 Report Share Posted January 18, 2009 (edited) You will get an error: you don't have permission to use /dev/fuseYou can get around this: as root: chmod 666 /dev/fuse This will not stick, the /dev permissions get reset everytime the system boots Here is the more permanent fix: as root, edit /etc/rc.local, add this line at the end: chmod 666 /dev/fuse actually the proper way to do this is to add fuse as a secondary group for each user that is allowed to use fuse. If you look at /dev/fuse it's configured like this: crw-rw---- 1 root fuse 10, 229 2009-01-18 14:03 /dev/fuse So if you add the users to the fuse group in /etc/group, those users will be able to use fuse, for example: grep fuse /etc/group fuse:x:110:user1,user2 Edited January 18, 2009 by tux99 Quote Link to comment Share on other sites More sharing options...
hannu Posted January 18, 2009 Author Report Share Posted January 18, 2009 actually the proper way to do this is to add fuse as a secondary group for each user that is allowed to use fuse. Interesting that you point that out because I tried that first, didn't work in my installation. I even checked that I was in group fuse, still got the permission error. That's why I ended up with the chmod line in rc.local However, whatever works .. Thanks, Hannu Quote Link to comment Share on other sites More sharing options...
tux99 Posted January 19, 2009 Report Share Posted January 19, 2009 it works for me in mdv 2008.1, I just tried it to confirm. This is how it is intended to work by the makers of Mandriva, of course you can do it anyway you want, but by doing it the 'official' way, you ensure it will survive updates and upgrades. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted January 19, 2009 Report Share Posted January 19, 2009 Did you log out after adding yourself to the group? If not, this will be why you still got the permission error. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.