file permissions on vfat USB Stick

Thilo Six T.Six at
Sun Nov 12 14:12:24 UTC 2006


When plugin a usb stick it is mounted as follows:

/dev/sdb1 on /media/SIX type vfat

But that has the drawback that all files on that device have execution

Manually mounted with:
mount -o rw,uid=1000,dmask=0077,fmask=0177 /dev/sdb1 /mnt/test/

i get:
/dev/sdb1 on /mnt/test type vfat (rw,uid=1000,dmask=0077,fmask=0177)

Now directories have 700 and files 600.
How can i make that permanently?

I have looked at /etc/udev/rules.d but i do not have any glue about them.

Any ideas?

TIA Thilo
i am on Ubuntu 2.6 KDE
- some friend of mine

gpg key: 0x4A411E09

More information about the ubuntu-users mailing list