Click to See Complete Forum and Search --> : Write access to FAT32 partition


sshe11
03-11-2005, 12:14 PM
I added a windows FAT32 partition to the /etc/fstab file:

/dev/hdb5 /mnt/windows auto auto,user,rw,async 0 0

but it mounts it as root and I dont have write access to it from my user account ..... I changed the policy for the group "root" and added my user to root but still no good .....

any tips ??

XiaoKJ
03-11-2005, 12:19 PM
add umask=0,0,0 to the options

sshe11
03-11-2005, 12:22 PM
Which column should I add that to ?

What does it actually do ?? can you explain a bit ?

sshe11
03-11-2005, 12:34 PM
Ooops ... that didnt work ... it gives me an error saying that line 8 is bad:

/dev/hdb5 /mnt/windows auto auto,user,rw,async 0 0,umask=0,0,0

retsaw
03-11-2005, 12:38 PM
Originally posted by XiaoKJ
add umask=0,0,0 to the options
that should be "umask=000" without the commas.

It sets all files and directories on that partition to have full read/write/execute permissions.

XiaoKJ
03-11-2005, 01:10 PM
opps

you can add it to the rw part. it describes options for mounting the filesystem

EDIT:
Like this:
/dev/hdb5 /mnt/windows auto auto,user,umask=000,rw,async 0 0

<the filesystem device> <where to mount it> <OPTIONS to mount it> <dump> <pass>

sshe11
03-11-2005, 01:18 PM
Ok I tried adding that at the end but still didnt work .... maybe i'll try adding it like you mentioned ....

serz
03-11-2005, 01:34 PM
/dev/hdb5 /mnt/windows auto auto,user,umask=000 0 0

Try that...

XiaoKJ
03-11-2005, 01:40 PM
you'll still need the rw part, serz

retsaw
03-11-2005, 01:55 PM
Actually rw is the default so you don't need to set it.

sshe11
03-11-2005, 08:08 PM
Ok I just did some reading online ... doesnt umask=777 grant FULL access instead of 000 ??


Oops my bad ... its 000

serz
03-12-2005, 06:55 PM
Originally posted by XiaoKJ
you'll still need the rw part, serz
No, "rw" has no effect on fat32..