[K12OSN] Mounting SAMBA shares on a Linux workstation

Petre Scheie petre at maltzen.net
Mon Aug 21 13:12:26 UTC 2006


Hey Bert, good to see you back on the list again!

As to your problem, sshfs is your friend.  It allows you, as a non-root user, to mount 
directories from remote machines over ssh; no NFS needed.  The syntax is easy:

sshfs remotehost:/path/to/desired/directory /localmountpoint

/localmountpoint can be just a directory in your $HOME.  After you mount this, you can 
see the contents of the remote host right in /localmountpoint.  And this works from a 
thin client.  It is COOL!  Everything's transparent to your apps.  You can run it safely 
across the internet since it's all ssh.  It uses fuse, which is the same component used 
in LTSP 4.2's new improved Local Device Access.

The package you want is sshfs-fuse (or is it fuse-sshfs?  One or the other).  Do a yum 
install on it and you'll be on your way.

Petre

Bert Rolston wrote:
> Hey all,
> 
> Thanks for the help last week.
> 
> Now I've hit another snag.
> 
> I use FC5 as my OS of choice. I'm trying to open files on the Samba
> server from Open Office. The OO file browser won't let me access the
> network directly, the way Konqueror does. 
> 
> So I've come to the conclusion that I need to mount the SAMBA shares in
> my filesystem. Great in theory, difficult in practice.
> 
> I've tried using the mount.cifs man pages, but they are difficult to
> understand. 
> 
> The Redhat help FAQ's have useful suggestions, but it appears I can only
> carry out the methods in their FAQ's as root.
> 
> I can access the files through Konqueror. Which means I have to copy the
> file from the server to the local machine. Then I can work on it, and
> save it locally. After that I can save back to the server. This sort of
> defeats the purpose of a central file store / server.
> 
> I've also tried using NFS, but my workstation can't find the NFS server.
> 
> How are people on this list going about solving this problem?
> 
> Thanks for your help,
> Bert
> 
> 
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
> 




More information about the K12OSN mailing list