rob wrote:
Umask = 0222 = disable write access(1). Replace *all* the options with the word defaults. The umask=0222 is correct for ntfs, where writing is still lethal. Haven't we been round this loop before, in great detail?Hi, Thanks for that Rick, I have attached it as a text file.
Can you: $cat /etc/fstab for us please?
We need to know the (read-write) mounting of the FAT partition (I assume).
Cheers - Woodsey
------------------------------------------------------------------------
# <file system> <mount point> <type> <options> < dump> <pass>
proc /proc proc defaults 0 0
/dev/hda3 / ext3 defaults,errors=remount-ro 0 1
/dev/hda7 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 ro,user,noauto 0 0
/dev/sda /media/usb0 auto rw,user,noauto 0 0
#/dev/hda1 /mnt/win ntfs nls=iso8859-1,ro,umask=0 0 0
#/dev/hda1 /mnt/windows ntfs umask=0222, 0 0
#/dev/hda5 /mnt/FAT vfat umask=000 0 0
/dev/hda1 /media/windows ntfs user,umask=0222 0 0
/dev/hda5 /media/FAT vfat rw,umask=0222 0 0
Steve
(1) the umask = if the particular bit is set, then disable it... which is why it's called a mask. fat doesn't have it's own access rights built in, so you have to pretend with these mount options. There are 4 digits to the mask. The first one is for special stuff, which is irrelevant to this email, and the other 3 are the same, but the scope is for the owner, the group and the world in that order. When set, bit 1 allows execute, 2 = write, and 3 = read access to a file. In binary, 001 = 1 decimal, 010 = 2 dec, and 100 = 4 dec. So 0222 = mask off owner write, group write and world write access.
Hope this makes sense.
