umask=0 will let everyone read, write, and execute
umask=22 is a bit safer (IMO) and only lets root (the owner and group) read, 
write, and execute but leaves others with only read and execute permissions. 
its more secure that way.  your choice, of course, what access rights you 
wish to give... btw, umask permissions work by subtracting from mode 777 
(rwxrwxrwx)  so umask=22  sets the permissions as mode 755 (rwxr-xr-x)

>From: Mike MacCana <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>CC: [EMAIL PROTECTED]
>Subject: RE: [expert] Read/Write permissions on a VFAT partition
>Date: Fri, 5 Jan 2001 10:09:24 +1100 (EST)
>
>You need to specify a default permission [called a umask] for it when you
>mount it...
>
>From my filesystem table...
>
>/dev/hda2 /mnt/windows vfat user,exec,umask=0 0 0
>
>Mike
>
>------------------------------------------
>Mike MacCana           Support Consultant
>           C Y B E R S O U R C E
>    Level 9, 140 Queen St Melbourne 3000
>Ph : +61 3 9642 5997 Fax: +61 3 9642 5998
>
>On Thu, 4 Jan 2001, Zelck, Guy wrote:
>
> >
> > >
> > > "Himebaugh, Jon, CON, OASD(HA)/TMA" wrote:
> > > >
> > > > I have a vfat partition (win98) mounted but cannot seem to
> > > get permissions
> > > > to write to it.
> > > >
> > > > Would someone please give me a hint how to do this?
> > >
> > > The user that did the mount is the only one with write access.
> > >
> > Not true, you can specify an option to set the mode of the dirs and 
>files
> > created on the vfat. I work this way. It's documented in mount I guess 
>cause
> > I found it on my system.
> > So if the mode allows it, everyone can write.
> >
> >
>

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


Reply via email to