RSS
 

fuse sshfs

30 May
Well working with fuse i needed to get nautilus my gnome file browser to let me edit the files. Well after doing a little search on google, i decided i would just look at the --help output from the file itself. Low and behold there was my answer. So for future record this is how you do it. Get the uid and gid of the user you are going to mount from. So in the terminal do id -u id -g this will give you your local uid and gid. So if my local uid and gid were 512 i would do the following.
sshfs -o uid=512,gid=512 me@myremoteserver:/remote/mount/path /local/mount/path
That should do it.
Posted on an Ubuntu Blog
ubuntu.wordpress
Update:
If you run the following command it will get the uid and gid for you.
sshfs -o uid=`id -u`,gid=`id -g` me@myremoteserver:/remote/mount/path /local/mount/path

For scripts this will work the best i think.
 
0 comments

Posted ed_mann in Computers & Technology