• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

RH8 Linux: permission to write to mounted drive denied! please help!

groovin

Senior member
I have a windows partition (fat32) that I want to write to. So I followed the instructions in Red Hats guide and added the line:

/dev/hda5 /mnt/storage vfat auto,owner,users 0 0

however when I tried to write something to the mounted partition I got a access denied error saying I didnt have permission. Ok, so went back and tweaked with it some more, browsed different Linux sites for some suggestions and tried these out:

/dev/hda5 /mnt/storage vfat auto,user,umask=000
/dev/hda5 /mnt/storage vfat rw,defaults,auto,users,umask=000 0 0
/dev/hda5 /mnt/storage vfat ro,user,uid=1000,gid=1000,async 0 0
/dev/hda5 /mnt/storage vfat rw,defaults,noauto,umask=000 0 0

none of them worked, some wouldnt even mount the drive. According the threads on Linuxnewbie.org, these all worked with some people.

I am just running RH8 in server mode. Nothing special about anything I am doing... I havent really gotten a chance to toy with anything else but this.

Im new to linux... please help! THANKS
 
Check the ownership and/or permissions of /mnt/storage. If you are not the owner and not a member of the selated group then the permissions of this dir need to be drwxrwxrwx, if you are a member of the group assoc. then it should be drwxrwxr-x, and if you are the owner, the permissions should be drwxr-xr-x. Remember these are the MINIMUM they need to be for you to read/write to the dir. In fstab, you should only need defaults,user and that should be it.
 
i used chmod 777 /mnt/storage but it gave me an error saying it wasnt permitted. i was loggin in as the super user. i can change the permissions on /mnt/storage before mounting to drwxrwxrwx but as soon as i mount the windows partition, the permissions change back to drwxr-xr-x
 
"can you su into root, mount the fat32 partition, and THEN change the permission to 777? "

no, same error...

 
Sorry - mode 600 = rw- --- ---

If you do an ls -l /dev/hda5, you should see something like

b rw- --- ---

(The "b" tells you it's a block device, case you're wondering.)
 
Back
Top