LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   user can't read/write (vfat) partition (https://www.linuxquestions.org/questions/slackware-14/user-cant-read-write-vfat-partition-54500/)

MykilX 04-10-2003 09:35 PM

user can't read/write (vfat) partition
 
Hello all, long time lurker, first time poster ;)

Well here's my problem. When I installed Slack 9.0, I added all of my windows partitions. When I login with my user acct, I can view these partitions in X, can't even enter the dir with cli. I figure no problem, I just have to edit fstab right. Well I madfe the changes I thought I should, but no joy.
Here's my entry
/dev/hda6 /windata vfat defaults,sys,rw 1 0

Root can read/write no problems. My user acct is a member of sys, which is why I added sys. I thought defaults would take care of it. I have since rebooted, so the changes should have taken affect. I've since tried other settings, and issued "mount -aw" as root for the changes to take affect. (that is the right command I believe)
I've read through man fstab, and man mount. It looks ok from what I've read. I also thought it may be a problem with permissions. I have changed the permission to 777 on one of the win partitions but that hasn't helped either.
I'm sure it's something simple I'm missing. Any help would be greatly appreciated.
Sorry for the long post ;)

Tinkster 04-10-2003 09:49 PM

Use the search, Luke! :D

Cheers,
Tink

MykilX 04-10-2003 09:57 PM

I searched last nite. I read every post having to do with fstab, and vfat partitions. :( I'm still looking now.

Tinkster 04-10-2003 10:00 PM

*sigh*

Why didn't you just follow the LINK that
the word search in my post happens to
be? ;)

Excalibur has covered this topic in all
breadth and width over the last few weeks ;)

Cheers,
Tink

MykilX 04-10-2003 10:23 PM

Ok I got it sorted now :) Finally! the trick is to unmount the dir, then change permissions.
for those who still have trouble this is my fstab entry;
/dev/windir /data vfat auto,rw,umask=000 1 0
change accordingly, and then unmount the dir, chmod 0777 /windir, then mount -a.
Hope this will save someone a headache ;)

cityhunt 06-26-2003 04:33 AM

thanks :))
 
i just want to thank Tinkster for the tip...i've got the same problem with the win partition and now it goes!

bye!

JuPiTeR15 07-04-2003 05:32 PM

Works also for knoppix
 
Thanks allot for the trick ;-)
I faught for two hours with my pc before I read yourpost

This trick works perfectly for knoppix :-)

the line i used in fstab is slightly modified...
/dev/hdc1 /mnt/rack vfat defaults,ro,umask=022 0 0


All times are GMT -5. The time now is 08:48 PM.