[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: user access to FAT partition - help !



On Fri, 30 Jun 2000, The awesome and feared Pierre TILQUIN commented thusly,

> Hello,
> 
> Does anyone know how to make a FAT partition writeable to someone besides
> root.  


Actually the way I did it iwas to create a group alled fatusers (the
people that you wont to be able to access the FAT) and added the following
to my /etc/fstab

/dev/hda1               /mnt/win98              vfat 
uid=0,gid=504,umask=002


as you can see the UID is the user id of who own that.0 mean root
and the GID is the group ID ..in my case 504 is the fatusers group.

And to change the premissions I specifed umask=002  and here is a ls of my
drive once it is mounted..

drwxrwxr-x 139 root     win98usr      16k Jan  1  1970 win98

See everything is as it ought to be..

I think the above is something what you are after...use the umask stting

Best Wishes,
Grendel

Hi, I'm a signature virus. plz set me as your signature and help me spread
:)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]