LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Edit fstab to write to fat drive (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/edit-fstab-to-write-to-fat-drive-610921/)

AGazzaz 01-03-2008 04:05 PM

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?
:(

jailbait 01-03-2008 04:09 PM

"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

AGazzaz 01-03-2008 04:14 PM

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

Brian1 01-03-2008 05:07 PM

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

Brian

michaelk 01-03-2008 08:41 PM

/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.

AGazzaz 01-07-2008 02:31 PM

Thank you michaelk I can now write to the fat32 drive
(sorry for late feedback)


All times are GMT -5. The time now is 03:39 AM.