LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-11-2004, 10:08 PM   #1
BarkingBonefish
Member
 
Registered: Feb 2004
Posts: 52

Rep: Reputation: 15
What fstab mount setting do you use to get full access to a vfat drive?


I have a FAT32 drive being used to share files between win and linux on a dual boot system. I manually edited the fstab to get this drive to mount on linux boot, and used default 0 0 for the setting. Now I cannot change the permissions on the drive to give full access for non-root user name, even when logged in as root. I think this has to do with the mount settings in fstab, but I am not sure.

Any help you could provide is greatly appreciated.

BB
 
Old 03-11-2004, 11:01 PM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
try umask=0
 
Old 03-11-2004, 11:01 PM   #3
newinlinux
Member
 
Registered: Dec 2003
Location: Next to Equator
Distribution: GNU/Linux 2.6.14
Posts: 382

Rep: Reputation: 30
my fstab is:

auto,users,rw,umask=000

try this combination.
 
Old 03-11-2004, 11:12 PM   #4
BarkingBonefish
Member
 
Registered: Feb 2004
Posts: 52

Original Poster
Rep: Reputation: 15
Thanks

I used:

users,umask=000,gid=users

and it mounted nicely on boot, and alternative user login can now access files with full rights.

Thanks again!
 
Old 03-12-2004, 12:36 AM   #5
chii-chan
Member
 
Registered: Sep 2003
Location: chikyuu (E103N6)
Distribution: Redhat 8.0 (2.4.25-custom), Fedora Core 1 (2.4.30-custom)
Posts: 357

Rep: Reputation: 30
I use this:

defaults,uid=500,gid=500,umask=022

If there is only one user, so better set the uid and gid to that particular user.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing Fstab in ubuntu to mount vfat drive mikeymorgan Linux - Newbie 13 06-23-2005 07:50 AM
mount/fstab issues, vfat filename conventions: 8.3 vs long tisource Linux - Software 2 03-23-2005 09:22 PM
Full write access to vfat R¬dical_úD SUSE / openSUSE 2 03-18-2005 03:15 AM
want user to be able to mount vfat (fstab ?) qwijibow Linux - Software 4 11-13-2003 10:43 AM
mount a vfat hard drive allelopath Linux - Hardware 16 04-06-2003 01:48 PM


All times are GMT -5. The time now is 01:18 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