[SOLVED] Creating an udev rule mounting all usb drive as 666
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
What is the file system on these USB drives -- vfat, NTFS, ext3 ... ?
Which user is logged on at the Xfce desktop when volman mounts the volume -- root or an ordinary user?
After it is mounted by volman, what does the mount command display for it? What are the permissions of a sample of files in the root of the mounted volume? Here is an example as mounted by Thunar not volman
[snip othe file systems]
/dev/sdc1 on /media/CHARLES8GB type vfat (rw,nosuid,nodev,uhelper=hal,shortname=winnt,uid=1000)
c@CW8:~$ /bin/ls -l /media/CHARLES8GB
-rwxr-xr-x 1 c root 111 2008-10-11 11:35 Owners' contact details.txt
drwxr-xr-x 2 c root 4096 2010-03-28 14:55 Printing
Yep, i was aware of this, but i don"t find where to apply those options.
I don't know which program create /media/name_of_my_key and mounts the device into it.
As far as i get, udev rules only applies on /dev/sdb1 , and gives 777 to it.
What happens next is a mystery :/
The answer may be in /usr/share/hal/fdi/policy/10osvendor/