Sharing Dos/Windows drives from a Linux system

Peter Samuelson peter at
Mon Mar 13 09:59:40 GMT 2000

[Steve Cohen]
> I was not so lucky with /mnt/dosD, trying myriad different
> combinations of umask, uid and gid values, none of which did any
> good.  And, of course, you can't chmod on one of these drives.

It still sounds like a permissions problem from the Unix end -- nothing 
to do with Samba.

Try, as an experiment:

  umount /mnt/dosD
  mount -t vfat -o umask=0 /dev/hdb1 /mnt/dosD

What you probably really want is something like

  mount -t vfat -o umask=2,gid=XXX /dev/hdb1 /mnt/dosD

where XXX is the numeric group number for the group of users to which
you want to give write access to your DOS partition.

> /dev/hdb1	/mnt/dosD	vfat	 noexec,nodev,nosuid,rw 1 1

/dev/hdb1	/mnt/dosD	vfat	umask=113,gid=XXX	1 1

Note that `nodev,nosuid' are unnecessary for `vfat', `rw' is already
the default, and `noexec' is implied by `umask=113'.


More information about the samba mailing list