[StAndrews and Fife LUG] smbfs mount question

Gilbert Serex standrews at mailman.lug.org.uk
Thu Jan 2 11:01:01 2003


Hi all.

First a happy new year 2003!

I need advice about a strange problem I have not been able to solve.

I have a Win Me machine which acts as a data server. I use smbfs to
mount the "my documents" portion of the disk so that I can work on the
data from my Mandrake 9 machine, although it mounts fine I have to
manually unmount/remount (from the Mandrake Control Centre) this
partition to be able to write into it.

here is the fstab line:

//winmemachine/MYDOCUMENTS /mnt/mydocuments smbfs password=******** 0 0

The password has been obfuscated (in the above line), and I turned the
password encryption "off" in the windows Box registry. Although I am not
clear about the link between the Samba (smb.conf) and the Linux mount
(fstab) system, I need some explanation here too.

I also had to assign the 0 (root) group to my username. This was
necessary to be able to write into the share.

I know this is not the perfect way but it works.all I need to automate
is the read/write portion at boot.

I wish MS was a little more helpful than they seem to be when it comes
to share their side with other, like Linux does with Windows.


Any idea.


Cheers