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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-15-2005, 10:50 PM
|
#1
|
LQ Newbie
Registered: Jan 2005
Location: Venezuela
Distribution: Fedora Core 3
Posts: 5
Rep:
|
Need help mounting a VFat partition r/w
Greetings...
I'm having problems with mounting a Vfat partition r/w in Fedora Core 3. When the system boots, I cant write to my files. However, if I umount it and then remount it (as an user), the problem seems to be solved... Can anyone plz help me? My fstab entry is as follows...
/dev/hda7 /mnt/Documentos vfat gid=501,user,pamconsole,suid,dev,exec,auto,sync 0 0
I read somewhere that using a group could solved this, so I followed the instructions and make a group called Documentos and then I added myself at /etc/group... Any ideas?
|
|
|
01-16-2005, 12:36 AM
|
#2
|
Member
Registered: Dec 2004
Location: Oregon, USA
Distribution: Kubuntu 9.04
Posts: 181
Rep:
|
umask
Add umask=0 to your options list...
(eg)
/dev/hda2 /mnt/OShared vfat umask=0,defaults 0 0
The umask=0 entry makes the filesystem read/writeable for ordinary users.
|
|
|
01-16-2005, 11:52 AM
|
#3
|
Member
Registered: Nov 2003
Distribution: antiX-17.4.1_x64 base Custom
Posts: 193
Rep:
|
simply comment your /etc/fstab line
#/dev/hda7 /mnt/Documentos vfat gid=501,user,pamconsole,suid,dev,exec,auto,sync 0 0
as above so the system don't use it but if you want to go back to your previous setting you have only to take off this # from the beginning of the line
and add (always in /etc/fstab) this line
/dev/hda7 /mnt/Documents vfat user,noauto,exec,rw 0 0
so you can mount and umount it when you want.
Let me know but it should work.
walker
|
|
|
01-16-2005, 03:56 PM
|
#4
|
LQ Newbie
Registered: Jan 2005
Location: Venezuela
Distribution: Fedora Core 3
Posts: 5
Original Poster
Rep:
|
Ok ill do that but is there a way to use umask without making the partition r/w for every user?
|
|
|
01-16-2005, 06:06 PM
|
#5
|
LQ Newbie
Registered: Jan 2005
Location: Venezuela
Distribution: Fedora Core 3
Posts: 5
Original Poster
Rep:
|
Well adding the umask option actually worked but again, is there a way to make a partition r/w only to an specific group without having this problem? Thanks......
|
|
|
01-17-2005, 12:18 AM
|
#6
|
Member
Registered: Nov 2003
Distribution: antiX-17.4.1_x64 base Custom
Posts: 193
Rep:
|
I can't answer your last question because I've never had this problem.
I'm the only user and admin of my pc.
Let me a little time to try out if it's possible.
walker

|
|
|
01-17-2005, 03:23 AM
|
#7
|
Member
Registered: Nov 2003
Distribution: antiX-17.4.1_x64 base Custom
Posts: 193
Rep:
|
I can suggest you to try this trick
add group=*(the name of the group which should be able to mount the partition)
i.e. /dev/hda7 /mnt/Documents vfat user,group=*,noauto,exec,rw 0 0
Let me know

|
|
|
01-17-2005, 07:31 AM
|
#8
|
Senior Member
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721
Rep:
|
i think it should be :
/dev/hda7 /mnt/Documents vfat user,GID=<id of group>,noauto,exec,rw 0 0
you can also use " UID " for only one user
egag
|
|
|
All times are GMT -5. The time now is 11:55 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|