Mounting question
Darren Mansell
darren.mansell at opengi.co.uk
Tue Jul 31 13:31:13 UTC 2007
On Tue, 2007-07-31 at 09:24 -0400, Bart Silverstrim wrote:
> I am trying to do some work with some remote Windows shares and while I
> can easily mount the volume using places->connect to server, it only
> mounts it under the Ubuntu desktop and some GNOME-aware applications.
> If I'm trying to do work with scp or cp from a mount point, the path
> doesn't exist.
>
> What is the best/easiest way to have, for example, \\windowsserver\share
> mounted to \mnt\windows so I can use command line file utilities?
>
Put it in /etc/fstab ie
//server/share /media/windows smb
uid=1000,gid=1000,rw,credentials=/home/user/.smbpw 0 0
Dont forget to apt-get smbfs
some windows servers require you to use cifs instead of smb for the
filesystem.
Make ~/.smbpw and put
username=yourusername
password=yourpassword
More information about the ubuntu-users
mailing list