Hi,
When I insert a USB flash drive into my FC13 system it is automatically mounted to /media and /etc/mtab gets automgically populated with a line like the following...
Code:
/dev/sdf1 /media/ECB2-3EE8 vfat rw,nosuid,nodev,uhelper=udisks,uid=500,gid=500,shortname=mixed,dmask=0077,utf8=1,flush 0 0
The permissions on USB drive (i.e. ECB2-3EE8) in /media look like this...
Code:
[root@localhost home]# ll /media
total 8
drwx------ 2 kojak kojak 4096 Dec 31 1969 ECB2-3EE8
drwxr-sr-x 7 kojak kojak 4096 May 12 2010 Fedora 13 x86_64 DVD
I would like to give all USB flash media a more permissive mount point (e.g. 777 ); however, I cannot figure out where UDEV (I think udev is the culprit) is deciding to set the dmask on the mount point. Does anyone know how to force more permissive dmasks for these automagically generated mount points?
I'm trying to create automatic mount points with directory permissions like this...
Code:
[root@sharktooth home]# ll /media
total 8
drwxrwxrwx 2 kojak kojak 4096 Dec 31 1969 ECB2-3EE8
drwxr-sr-x 7 kojak kojak 4096 May 12 2010 Fedora 13 x86_64 DVD
Cheers