LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Redhat 9.1 and vfat (https://www.linuxquestions.org/questions/linux-newbie-8/redhat-9-1-and-vfat-79272/)

gbj 08-05-2003 02:39 PM

Redhat 9.1 and vfat
 
Hi I'm a complete newbie on linux. This is my problem. I have a fat32 drive that I would like to be able to access from my linux system. I can mount this drive just fine but I can not read or write to it from linux. I'm using Redhat 9.1 and my fstab line is like the following;
/dev/hdd5 /mnt/share vfat defaults 0 0

So my question is this, how can I read/write to this drive as a normal user? Any help is greatly appreciated

aaa 08-05-2003 03:10 PM

Put under options, instead of "defaults", "user,umask=000". This lets users mount it and sets the permissions to rwxrwxrwx (you have to set them in the fstab because fat doesn't support permissions),

Skyline 08-05-2003 03:20 PM

There's nothing in

user,umask=000

that will automatically mount your filesystem on boot up - you'll need this option aswell

auto

gbj 08-05-2003 03:38 PM

thank you Skyline and aaa :) I added this line to fstab
/dev/hdd5 /mnt/share vfat auto,user,umask=000 0 0
and now I can move files between my home directory and my fat disk, but I'm getting errors when i use konqueror, especially when I'm deleting files? Then i get access denied. Am i missing something?

Skyline 08-05-2003 03:45 PM

Just put one other option in aswell namely your

User ID - ( uid )

You can get your User ID Number by becoming Root user on the command line ( su - root password) and typing:

id username – (substitute username with Aaron or Sofie or whatever your username is)

you'll get a little info - one of the bits will be something like

uid=501

just insert this into your options - your new line will look something like this

/dev/hdd5 /mnt/share vfat auto,user,uid=501,umask=000 0 0

gbj 08-05-2003 04:06 PM

thank you :)


All times are GMT -5. The time now is 05:09 AM.