LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-04-2003, 03:10 AM   #1
PrimaryDataLoop
Member
 
Registered: May 2003
Distribution: RedHat.
Posts: 41

Rep: Reputation: 15
Vfat read-only


Hello, I have a vfat/fat32 parittion easily automounted from fstab, yet it is only read only, except by root it seems, showing how its not some hardware or filesystem unsupported thingy..

How would I make it so normal users can use the partition and read/write mode?

I'm quessing some other option in fstab

thanks.
 
Old 07-04-2003, 04:30 AM   #2
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
try passing it the desired uid,gid and umask in corresponding fstab options column.

Something like..
defaults,rw,user,uid=500,gid=100,umask=137
For more options, see manpage of mount and scroll down to mount options for fat.
 
Old 07-04-2003, 01:52 PM   #3
camelrider
Member
 
Registered: Apr 2003
Location: Juneau, Alaska
Posts: 250

Rep: Reputation: 32
Or, in /etc/fstab, you might set users, (including the 's') and umask 000. Then set permissions and owneship for each directory.
 
Old 07-04-2003, 07:31 PM   #4
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
Quote:
Originally posted by camelrider
Or, in /etc/fstab, you might set users, (including the 's') and umask 000. Then set permissions and owneship for each directory.
What that would do is let user b umount the filesystem even if it was user a who mounted it.
 
Old 07-06-2003, 06:36 PM   #5
PrimaryDataLoop
Member
 
Registered: May 2003
Distribution: RedHat.
Posts: 41

Original Poster
Rep: Reputation: 15
So what the hell am I supposed to do?
 
Old 07-06-2003, 07:25 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,688

Rep: Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213
For all users to read / write add to /etc/fstab

/dev/hdxy /mnt/<mount_point> vfat user,umask=000 0 0

where hdxy is your partition ID and mount_point is the directory you want to mount the partition to.

see man pages for mount and fstab. This is a frequently asked question and you can search the site to find additional info.
 
Old 07-06-2003, 08:02 PM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
i'm using this

/dev/hda1 /mnt/win_c vfat gid=99,uid=99,umask=0,user,noauto,rw 0 0
 
Old 07-07-2003, 08:54 AM   #8
php
Member
 
Registered: Jun 2001
Location: USA
Distribution: Slackware
Posts: 825

Rep: Reputation: 30
I really wish you people would just tell him to search the forums as this has been asked 45 million times
 
Old 07-07-2003, 09:03 AM   #9
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
Quote:
Originally posted by hackers_
I really wish you people would just tell him to search the forums as this has been asked 45 million times
Yes it has but being newcomer, why not give a more constructive and more positive way to let others know this has been asked, giving a link or such to an existing thread. Some will never search, they will just go ahead and ask. But when someone like you gives it in such a negative way, this does not help and does not come off as being helpful.

Either you start posting less negative posts and more constructive posts, obeying the site rules or don't post at all if its only going to be in such manners.

Regards.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing vfat as read/write rknetsch Linux - General 4 06-17-2005 01:09 PM
mount vfat read/write problem dhammika Linux - General 4 08-27-2004 06:25 AM
fstab vfat read write prob gbarny Linux - General 3 06-20-2004 01:19 AM
Mounting folder in vfat partition as read-only m3rc_2003 Linux - Newbie 2 11-30-2003 01:09 AM
vfat partition is read only Andrastus Linux - General 18 06-03-2003 01:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration