A more secure way of doing this is to create a group for the drives you want to have access to, say you want to call it documents
$groupadd documents then for each user you want to access the drive do $usermod -g documents username then set the umask=0007 this will keep anyone not in group documents from accessing the drive. On December 18, 2003 05:10 pm, you wrote: > bingo - 0020 functions > > S > ----- Original Message ----- > From: "Nick W" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]>; "CLUG General" <[EMAIL PROTECTED]> > Sent: Wednesday, December 17, 2003 3:30 PM > Subject: Re: [clug-talk] fstab > > > On December 17, 2003 09:32 pm, Nick W wrote: > > > On December 18, 2003 04:23 am, Neil Bower wrote: > > > > -----BEGIN PGP SIGNED MESSAGE----- > > > > Hash: SHA1 > > > > > > > > If root is the owner of the fat32 files and are you trying to write > > > > to the file system under another user, then you will be denied write > > access > > > > > based on the umask of 0022. My guess would be that the umask should > > > > be 0020 and you may have to change the permissions on the existing > > structure > > > > > while logged in as root. > > > > Er..except it will not allow you to change the permissions on a FAT > > partition. > > > They are set at mount time, because FAT has no way of storing permission > > for > > > individual files. > > > > > > Neil Bower > > > > Registered User # 323470 > > > > ( http://counter.li.org) > > > > > > > > Fingerprint: F3C6 F20C 7B0F 0BFD BA3D 1EB4 2F93 DE6C 4CF6 DA95 > > > > > > > > On Wednesday 17 December 2003 20:49, N Sjoman wrote: > > > > >tried it; no difference > > > > > > > > > >On Wed, 2003-12-17 at 20:35, b-r-i-a-n - wrote: > > > > >> Try this instead... > > > > >> > > > > >> /dev/hda2 /mnt/fat32drive1 vfat umask=0022 > > > > >> /dev/hda3 /mnt/fat32drive2 vfat umask=0022 > > > > >> > > > > >> (note the extra zero) > > > > >> > > > > >> Regards, > > > > >> > > > > >> Brian > > > > >> > > > > >> >From: N Sjoman <[EMAIL PROTECTED]> > > > > >> >Reply-To: [EMAIL PROTECTED], CLUG General <[EMAIL PROTECTED]> > > > > >> >To: [EMAIL PROTECTED] > > > > >> >Subject: [clug-talk] fstab > > > > >> >Date: Wed, 17 Dec 2003 19:36:47 -0700 > > > > >> > > > > > >> >I changed the fstab as follows: > > > > >> > > > > > >> >/dev/hda2 /mnt/fat32drive1 vfat umask=022 > > > > >> >/dev/hda3 /mnt/fat32drive2 vfat umask=022 > > > > >> > > > > > >> >I can read the fat32 drive but documents still open in open > > > > >> > office > > as > > > > > >> >read only and access is denied when I try to copy from konquerer > > to > > > > > >> >documents in the fat 32 drive. > > > > >> > > > > > >> >This change made no difference in the situation. > > > > >> > > > > > >> >Sjoman > > > > >> > > > > > >> > > > > > >> >_______________________________________________ > > > > >> >clug-talk mailing list > > > > >> >[EMAIL PROTECTED] > > > > >> >http://clug.ca/mailman/listinfo/clug-talk_clug.ca > > > > >> > > > > >> _________________________________________________________________ > > > > >> Tired of spam? Get advanced junk mail protection with MSN 8. > > http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2fjo > > > > > >>in .m sn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca > > > > >> > > > > >> > > > > >> _______________________________________________ > > > > >> clug-talk mailing list > > > > >> [EMAIL PROTECTED] > > > > >> http://clug.ca/mailman/listinfo/clug-talk_clug.ca > > > > > > > > > >_______________________________________________ > > > > >clug-talk mailing list > > > > >[EMAIL PROTECTED] > > > > >http://clug.ca/mailman/listinfo/clug-talk_clug.ca > > > > > > > > -----BEGIN PGP SIGNATURE----- > > > > Version: GnuPG v1.2.3 (GNU/Linux) > > > > > > > > iD8DBQE/4SvNL5PebEz22pURAu1EAJ4vehdYYSAJxLHKy41h78tQclA5FACgg5wx > > > > xy4Ylf7IP2oZb4WUS9eZvuw= > > > > =0YGZ > > > > -----END PGP SIGNATURE----- > > > > > > > > > > > > _______________________________________________ > > > > clug-talk mailing list > > > > [EMAIL PROTECTED] > > > > http://clug.ca/mailman/listinfo/clug-talk_clug.ca > > > > -- > > Nick W (nickw77 at shaw.ca) > > Registered Linux User #324288 (http://counter.li.org) > > MSN Messenger: [EMAIL PROTECTED] > > Yahoo: foolish_gambit > > ICQ: 303276221 > > > > > > _______________________________________________ > > clug-talk mailing list > > [EMAIL PROTECTED] > > http://clug.ca/mailman/listinfo/clug-talk_clug.ca -- Nick W (nickw77 at shaw.ca) Registered Linux User #324288 (http://counter.li.org) MSN Messenger: [EMAIL PROTECTED] Yahoo: foolish_gambit ICQ: 303276221 _______________________________________________ clug-talk mailing list [EMAIL PROTECTED] http://clug.ca/mailman/listinfo/clug-talk_clug.ca

