Hey Steve, funny meeting you here. (inside joke). I've done something
similar to this. I had a fat parition that was mounted to a Linux box
that I shared to via Samba to a win95 box to provide (read and write)
access to an Outlook mailbox file.
There's probably more than one way to do it.
I have the following entry in my /etc/fstab file:
/dev/hda4 /mdrive vfat noauto,user 0 0
Which permits the ordinary user to mount this drive.
I then added an entry to my rc.local file that says:
su WIN95ID -c "/bin/mount /mdrive"
This mounts the drive with the same user id as the id that I log into
the win95 machine. The win95 machine automounts the share and I'm
good.
Steve Cohen wrote:>
> How can I do this?
> I have a samba server running on RedHat Linux. The server is actually a
> dual boot machine, and has Windows drives which I have mounted under
> Linux, so that /mnt/dosC is the C: drive when booted under DOS. Also,
> this machine has a Zip drive connected to it and known as /mnt/zip.
>
> >From a Windows 98 machine connected to this machine, connecting through
> Samba, I can see these shares. I can read any file in them. I cannot,
> however, write to these shares, even though they are specified as
> writable.
>
> Is this even possible and if so how?
>
> I have tried using fstype=FAT, or fstype=samba or fstype=NTFS to no
> avail.
>
> Here are the share portions of my smb.conf (note: MesaVerde is the host
> name).
>
> [mvD]
> path = /mnt/dosD
> comment = Drive D on MesaVerde's Dos partition
> writeable = yes
> guest ok = yes
>
> [zip]
> path = /mnt/zip
> comment = MesaVerde's zip drive
> writeable = yes
> guest ok = yes
>
> What must I do to be able to write to these drives over samba?
--
Until later: Geoffrey esoteric@denali.atlnet.com
I'm afraid there will be more problems with W2K than there were with
Y2K...