Samba read and write exporting a vfat partition from linux/intel

Christian J|nsson chj at lin.foa.se
Tue May 19 17:59:39 GMT 1998


I'm running Red Hat Linux 5.0/Intel with samba-1.9.18p7-50.1.

The PC I have has a hard disk with a /dev/hda1 which is a Win 95 partition and
a /dev/hda3 which is a Linux partition. The mount looks like this:

/dev/hda3 on / type ext2 (rw)
/dev/hda1 on /win95 type vfat (rw,gid=100,umask=0002)

and the gid=100 is the group users and contains only myself, chj.

The mount point /win95 is owned by root.users and has rwx group permissions, and
when mounting the /dev/hda1 partition as above I can, e.g.,

touch /win95/hello.txt

and all is well. I also ``export'' the /win95 fs using samba. In the
/etc/smb.con file, I have the following:

[Win95]
   comment = Arnljot's Win 95 partition
   path = /win95
   valid users = chj
   public = no
   writable = yes
   printable = no


BUT, when using, e.g., Word, it *seems* that all I can do is read files, not
write them back to the ``drive''. The complaint is that the disk is either full
or that too many files are open... However, I can open files from that partition
and I can save them to the home dir under the linux partition...

So, I guess I've made something wrong here, but I can't seem to find information
on the matter. If you do have any hints, please let me know.

TIA,

/ChJ


More information about the samba mailing list