View previous topic :: View next topic |
Author |
Message |
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Wed Jul 03, 2002 7:48 pm Post subject: fstab rw setting doesnt work |
|
|
in my fstab file:
# Windows Partitions
/dev/hda1 /windows/programs vfat user,auto,rw,exec 0 0
/dev/hda5 /windows/games vfat user,auto,rw,exec 0 0
/dev/hdb1 /windows/work vfat user,auto,rw,exec 0 0
i can execute a file, but i cannot write to the disks even though the rw setting is set. what is going on here? _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20054
|
Posted: Wed Jul 03, 2002 7:52 pm Post subject: |
|
|
Try a forum search using 'vfat' and 'writing' _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
leej Apprentice
Joined: 18 May 2002 Posts: 280
|
Posted: Wed Jul 03, 2002 8:14 pm Post subject: Re: fstab rw setting doesnt work |
|
|
TheCoop wrote: | in my fstab file:
# Windows Partitions
/dev/hda1 /windows/programs vfat user,auto,rw,exec 0 0
/dev/hda5 /windows/games vfat user,auto,rw,exec 0 0
/dev/hdb1 /windows/work vfat user,auto,rw,exec 0 0
i can execute a file, but i cannot write to the disks even though the rw setting is set. what is going on here? |
FAT based file systems have no group or user owner so you have to set it in fstab with the gid=xxx and uid=xxx. Eg.
Code: | /dev/hda1 /mnt/win vfat uid=1000,gid=100,rw 0 0 |
Where 1000 is my user id and 100 is the users group id. |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Thu Jul 04, 2002 3:14 am Post subject: Re: fstab rw setting doesnt work |
|
|
leej wrote: | Where 1000 is my user id and 100 is the users group id. |
Note that the filesystem driver also understands names in the uid and gid fields, just to make things more readable. _________________ I don't believe in witty sigs. |
|
Back to top |
|
|
leej Apprentice
Joined: 18 May 2002 Posts: 280
|
Posted: Thu Jul 04, 2002 9:17 am Post subject: Re: fstab rw setting doesnt work |
|
|
delta407 wrote: | leej wrote: | Where 1000 is my user id and 100 is the users group id. |
Note that the filesystem driver also understands names in the uid and gid fields, just to make things more readable. |
Really? ISTR wondering why on earth it didn't do that and apparently it did all along!!
Thanks for the tip
Last edited by leej on Thu Jul 04, 2002 10:40 am; edited 1 time in total |
|
Back to top |
|
|
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Thu Jul 04, 2002 10:19 am Post subject: |
|
|
thanks, it works now _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|