Re: vfat only writable by root
Jonathan Pryor <[email protected]> Sun, 02 May 2004 12:54:04 -0400
| Newsgroups | gmane.comp.gnome.os.redhat |
|---|---|
| Message-ID | <[email protected]> |
Edit /etc/fstab, and in the options section for your vfat partition, specify the "user" option to allow the user that mounted the partition to read it: # here's a flash drive I want all users to be able to mount /dev/sdb1 /mnt/flash vfat defaults,noauto,user 0 0 If you instead want the drive to be mounted at boot, implying that the user shouldn't have to manually mount the partition, use the uid and gid options and specify the numeric user id and group id that should be used when mounting the partition: # allow the user with uid=500 to edit files on /mnt/win-c /dev/hda1 /mnt/win-c vfat defaults,auto,uid=500,gid=500 0 0 See the mount(8) man page for more information (in particular, the "Mount options for fat" section). - Jon On Thu, 2004-04-29 at 21:16, Davies Peter Lewis wrote: > Hi linux folk. > > I am running redhat 7.3 > I partitioned my harddrive into three 32 G vfat partitions and one 56 > G > ext3. For some reason I have not been able to write to the vfat > partitions > except as root. This is starting to bug me. > > I have checked the permissions and changed the mount point to 777 > Still no luck > > Any suggestions > > regards > Hope you can help me > > Pete > > > This e-mail is intended for the addressee(s) named and may contain > confidential and/or privileged information. If you are not the > intended recipient, please delete it immediately and notify the > sender. Any views expressed in this email are those of the individual > sender except where the sender expressly and with authority states > them to be the views of the Department of Environment and Conservation > (NSW) which now incorporates the NSW Environment Protection Authority. > The Department accepts no liability for any loss or damage arising > from the use of this email and recommends that the recipient check > this email and any attachments for viruses. >