Debian Woody OS.
Have some general questions about fstab file.
Here is mine as follows
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/hda1 / ext2 errors=remount-ro 0 1
/dev/hda2 none swap sw 0 0
proc /proc proc defaults 0 0
/dev/fd0 /floppy auto user,noauto 0 0
/dev/cdrom /cdrom iso9660 ro,user,noauto 0 0
/dev/hdc1 /mnt/data1 ntfs ro,umask=0277,uid=mario,gid=mario 0 0
/dev/hdc5 /mnt/data2 ntfs ro,umask=0277,uid=mario,gid=mario 0 0
/dev/hdc6 /mnt/data3 ntfs ro,umask=0277,uid=mario,gid=mario 0 0
I added the last three lines to auto mount my NTFS partions , per the following FAQ (
http://linux-ntfs.sourceforge.net/info/ntfs.html#4.9)
My question is why (or do I need to) use the read only option when I am specifying umask. My objective is only to have the user mario and root be able to access this file system. mario is part of the group mario. Is my syntax correct?
I have also read in the debian man pages for mount, that the uid, and gid have no use. But following that above tutorial, it seems necessary to mount my NTFS partion so only mario has access. I am correct?
Thx in advance,
Boyd