can't mount FAT auto

Asked by n@ning on 2006-07-21

I try to edit the fstab file to mounting windows data (FAT) automaticaly, the script like ;

/dev/hdc6 /home/nsuryana/windata vfat auto,users,rw 0 0

but, everytime I booting, the folder still lock. I make the folder with login as nsuryana, but if I see the properties of folder owner is root, how can ? I don't understand ... or maybe this is the problem ?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2006-07-21
Last reply:
2007-07-20
Luca Falavigna (dktrkranz) said : #1

You should specify umask parameter accordingly to the permissions you want to grant to that filesystem.

Ben Hodgetts (enverex) said : #2

Adding "users" only lets users mount and unmount that partition, not read/write. What you need is...

/dev/hdc6 /home/nsuryana/windata vfat auto,users,rw,umask=000,dmask=000,fmask=000 0 0

And it should work fine (umask sets the permissions of the files (000 is the same as chmod 777).

Bhavani Shankar (bhavi) said : #3

Try umask=000 and youll be done....

Can you help with this problem?

Provide an answer of your own, or ask n@ning for more information if necessary.

To post a message you must log in.