LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Fat32 and Red Hat Linux 8 (https://www.linuxquestions.org/questions/linux-newbie-8/fat32-and-red-hat-linux-8-a-694724/)

MaartenCh 01-03-2009 01:04 PM

Fat32 and Red Hat Linux 8
 
Hey,

I'm new to linux and after some internet searching I found a lot of information on fstab entries for automounting a FAT32 partition in Linux.

My fstab configuration for this partition is now:

Code:

/dev/hda6                /mnt/win                vfat        rw,auto,async,  0 0
This configuration allows me to read and execute the files on my FAT32 partition but, doesn't allow writing to it.

Can someone give me the correct configuration-line so this partition will also become writeable.

Thanks,
Kind regards,

Maarten

Mega Man X 01-03-2009 01:22 PM

Quote:

Originally Posted by MaartenCh (Post 3395895)
Hey,

I'm new to linux and after some internet searching I found a lot of information on fstab entries for automounting a FAT32 partition in Linux.

My fstab configuration for this partition is now:

Code:

/dev/hda6                /mnt/win                vfat        rw,auto,async,  0 0
This configuration allows me to read and execute the files on my FAT32 partition but, doesn't allow writing to it.

Can someone give me the correct configuration-line so this partition will also become writeable.

Thanks,
Kind regards,

Maarten

I would advice you to first check if you have permission to write to /mnt/win. If you don't, you will need to chmod it:

http://www.manpagez.com/man/1/chmod/

If that still does not solve the problem, I think you need to add the userID and the groupID as well to fstab as well, but I could be wrong. Something like:

Code:

/dev/hda6 /mnt/win vfat rw,uid=1000,gid=1000 0 0
Although, I really recommend you to check for the permissions for that folder first ;)

Good luck!

MaartenCh 01-03-2009 01:34 PM

Thanks, for the reply.

I tryed to set the permissions to 0777 using the chmod function. However I always recieve a message that the operation is not permitted. I excecuted chmod as root.

tuxman 01-03-2009 01:35 PM

The partition is mounted as root. You will need to be logged in as root (su) in order to write to the mounted partition.

MaartenCh 01-03-2009 01:45 PM

That's correct as root I'm able to write to the partition. However I would like to be able to do this with all users.


Kind regards,

Maarten

saagar 01-03-2009 02:05 PM

Previously there has been a similar query in this forum, please search that. U may find the answer.

MaartenCh 01-03-2009 02:32 PM

Hey,

Thanks to all the contributors above (and to the forum in general).

I found the missing piece for solving my problem in the post "red hat 7.3 + fat32" (

http://www.linuxquestions.org/questi...3-fat32-22141/)

Kind regards,

Maarten

IBall 01-03-2009 08:42 PM

Hey Maarten,

You do realise that Redhat 8 is extremely old, right? RH8 was released in 2002 (ie: 7 years ago).

Unless you have a specific reason to be running it, I would strongly recommend updating to a modern, supported distro.

--IAn

MaartenCh 01-04-2009 06:53 AM

Hey IBall,

In the risk of going way off topic.

I'm aware of the fact that RH 8 is old. However for my purposes (learning the basics) and hardware (little -128- RAM memory) it's sufficient (not great, but sufficient).

Kind regards,

Maarten


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