LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 01-03-2008, 04:05 PM   #1
AGazzaz
Member
 
Registered: Nov 2005
Location: Egypt
Distribution: Fedora 17 KDE
Posts: 393

Rep: Reputation: 31
Edit fstab to write to fat drive


Hello,
I always have a problem with fstab file when installing a new distro
my current fstab file
Code:
#/dev/sda5 / reiserfs notail,noatime,user_xattr 1 1
/dev/sda5 / reiserfs defaults 1 1
/dev/cdrom /media/cdrom auto umask=0022,users,iocharset=iso8859-1,codepage=850,noauto,ro,exec 0 0
/dev/sda7 /mnt/c vfat defaults 0 0
none /proc proc defaults 0 0
/dev/sda6 swap swap defaults 0 0
How can I write to this drive as a normal user?
 
Old 01-03-2008, 04:09 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,340

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
"How can I write to this drive as a normal user?"

Add user to the fstab line:

/dev/sda7 /mnt/c vfat defaults,user 0 0

--------------------------
Steve Stites
 
Old 01-03-2008, 04:14 PM   #3
AGazzaz
Member
 
Registered: Nov 2005
Location: Egypt
Distribution: Fedora 17 KDE
Posts: 393

Original Poster
Rep: Reputation: 31
Thank you very much for your quick help.
{very shy}

*edit* it is not working I still can not write to the drive as root

Last edited by AGazzaz; 01-03-2008 at 04:24 PM.
 
Old 01-03-2008, 05:07 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Possible users is not a default in Mandriva. Possible it is user.
Other than that use the option umask=000

Brian
 
Old 01-03-2008, 08:41 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,750

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
/dev/sda7 /mnt/c vfat umask=000 0 0

user/users option allows an ordinary user to mount/unmount a filesystem. Check the mount man pages for option details.
 
Old 01-07-2008, 02:31 PM   #6
AGazzaz
Member
 
Registered: Nov 2005
Location: Egypt
Distribution: Fedora 17 KDE
Posts: 393

Original Poster
Rep: Reputation: 31
Thank you michaelk I can now write to the fat32 drive
(sorry for late feedback)
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to give a drive write access to all users in FSTAB? (ext3) jon_k Linux - Software 2 12-19-2004 09:46 PM
FreeBSD+fstab+fat partition krajzega *BSD 4 08-09-2004 03:05 PM
/fat-c permissions in fstab Ops Slackware 2 07-08-2004 10:43 AM
Mounting fat drives in fstab.. subnet Linux - Newbie 3 10-10-2003 03:02 AM
How do I change "fstab" to Write/Edit Mode? sharathkv Linux - Newbie 4 07-29-2003 07:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 06:30 PM.

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
Open Source Consulting | Domain Registration