Hi...
You can allow access to all by adding:
CODE
/dev/hda1 /mnt/winc vfat rw,user,auto,umask=000 0 0
but your security would be weak, since all would have access to this drive...
so better is to make a group that would have access to it, and lock access to all others:
1) create new group, called for example
vfatusers:
CODE
groupadd vfatusers
2) add your users to this group, edit file
/etc/group under vfatusers so it would have users divided by "," at endo of it, note that number 104 can (and probably would) be different:
CODE
vfatusers:x:104:user1,user2,user3
3) change group of your vfat directories to vfatuser, also make sure that root is owner of those files:
CODE
chown root:vfatusers /mnt/winc /mnt/wind
4) in fstab allow group to access it, edit it to look like this:
CODE
/dev/hda1 /mnt/winc vfat rw,user,auto,umask=007 0 0
I think that this would be enough, same way you can use to allow some users to access some directories, and other not... remember to give access to fstab and group only to root, so users wouldn't be able to change what you set...
Probably there is other way, but I always do it like that... hope this helped...
Reply