LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need help mounting a VFat partition r/w (https://www.linuxquestions.org/questions/linux-newbie-8/need-help-mounting-a-vfat-partition-r-w-278291/)

frandres 01-15-2005 10:50 PM

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?

dping 01-16-2005 12:36 AM

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.

walker 01-16-2005 11:52 AM

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

frandres 01-16-2005 03:56 PM

Ok ill do that but is there a way to use umask without making the partition r/w for every user?

frandres 01-16-2005 06:06 PM

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

walker 01-17-2005 12:18 AM

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
:study:

walker 01-17-2005 03:23 AM

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

;)

egag 01-17-2005 07:31 AM

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 12:09 PM.