[expert] Read/Write permissions on a VFAT partition
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? Jon H.
RE: [expert] Read/Write permissions on a VFAT partition
umask=0 -Original Message- From: Himebaugh, Jon, CON, OASD(HA)/TMA [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 02, 2001 11:27 AM To: '[EMAIL PROTECTED]' Subject: [expert] Read/Write permissions on a VFAT partition 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? Jon H.
Re: [expert] Read/Write permissions on a VFAT partition
"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. -- Regards, Ron. [AU]
Re: [expert] Read/Write permissions on a VFAT partition
Klar Brian D Contr MSG SICN wrote: > umask=0 No umask is for setting the default permissions for files you *create*, it doesn't change the access you have to existing files. More then likely Jon, you will need to be root to write to the filesystem, or if there is a way to mount the vfat from a normal user account then that user will likely have permissions to write to it. duane > 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? > > Jon H.
RE: [expert] Read/Write permissions on a VFAT partition
Not so if you set umask to 0 -Original Message- From: Ron Stodden [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 02, 2001 3:21 PM To: [EMAIL PROTECTED] Subject: Re: [expert] Read/Write permissions on a VFAT partition "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. -- Regards, Ron. [AU]
RE: [expert] Read/Write permissions on a VFAT partition
I did set the umask of the mount command to umask=0 and it seems to have cleared the problem right up. Thank you all for your help. Jon H. -Original Message- From: Klar Brian D Contr MSG SICN [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 03, 2001 5:52 AM To: '[EMAIL PROTECTED]' Subject: RE: [expert] Read/Write permissions on a VFAT partition Not so if you set umask to 0 -Original Message- From: Ron Stodden [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 02, 2001 3:21 PM To: [EMAIL PROTECTED] Subject: Re: [expert] Read/Write permissions on a VFAT partition "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. -- Regards, Ron. [AU]
Re: [expert] Read/Write permissions on a VFAT partition
>> "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? > From: Ron Stodden [mailto:[EMAIL PROTECTED]] >> The user that did the mount is the only one with write access. Klar Brian D Contr MSG SICN wrote: > Not so if you set umask to 0 Woah, hold on, do you mean to say that umask now also controls the permissions of mounted filesystems?! (and I *presume* that umask must be set *prior* to running mount) Why arn't world read/write permissions command line options for mount?? (where they belong!) duane
Re: [expert] Read/Write permissions on a VFAT partition
Submitted 03-Jan-01 by duane voth: > Woah, hold on, do you mean to say that umask now also controls > the permissions of mounted filesystems?! (and I *presume* that > umask must be set *prior* to running mount) On filesystems like vfat which do not have support for permissions. And the umask is a mount option set in /etc/fstab or as part of a -o parameter to mount > Why arn't world read/write permissions command line options for mount?? > (where they belong!) see above -- Anton GrahamGPG ID: 0x18F78541 <[EMAIL PROTECTED]> RSA key available upon request "When the going gets weird, the weird turn pro..." -- Hunter S. Thompson
Re: [expert] Read/Write permissions on a VFAT partition
duane voth wrote: > Why arn't world read/write permissions command line options for mount?? > (where they belong!) ok, I'm sufficiently embarrassed, there is a mount umask=0 in addition to the usual per-user umask. 8} duane
RE: [expert] Read/Write permissions on a VFAT partition
> > "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.
RE: [expert] Read/Write permissions on a VFAT partition
To enable Write to FAT partitions: addd to /etc/fstab an entry for your FAT line that is "umask=0". This will then allow non-root users to write to FAT. Seve >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 1/4/01, 12:53:22 AM, "Zelck, Guy" <[EMAIL PROTECTED]> wrote regarding RE: [expert] Read/Write permissions on a VFAT partition: > > > > "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.
RE: [expert] Read/Write permissions on a VFAT partition
Use the umask=0 option in /etc/fstab -Original Message- From: Zelck, Guy [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 04, 2001 3:53 AM To: [EMAIL PROTECTED] Subject: RE: [expert] Read/Write permissions on a VFAT partition > > "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.
RE: [expert] Read/Write permissions on a VFAT partition
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 MacCanaSupport 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. > >
RE: [expert] Read/Write permissions on a VFAT partition
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
RE: [expert] Read/Write permissions on a VFAT partition
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
RE: [expert] Read/Write permissions on a VFAT partition
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
RE: [expert] Read/Write permissions on a VFAT partition(correction)
umask=22 is a bit safer (IMO) and only lets root (the owner and group) ((i ment owner)) read, write, and execute but leaves (group &) others with only read and executepermissions. 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) > _ Get your FREE download of MSN Explorer at http://explorer.msn.com