You are not logged in.
I have a custom rule for one of my removable storage devices. The rule sets the correct symlink, but it doesn't honour the mode and group settings. Here's the rule.
BUS=="scsi", SYSFS{vendor}=="IIT-22 ", KERNEL=="sd?1", MODE="0666", GROUP="datamode" SYMLINK="mymp3"
The group exists in /etc/group and the users who need access to the device are appropriately listed.
udev has always been mu Nemesis, and I'd love to get this sorted!
ls -l /dev/mymp3
lrwxrwxrwx 1 root root 4 2010-02-07 13:03 /dev/mymp3 -> sdb1
[hierro@el-diablo]#
]ls -l /dev/sdb1
brw-rw-rw- 1 root storage 8, 17 2010-02-07 13:03 /dev/sdb1
[hierro@el-diablo]#
Any advice?
Cheers
GregW
Offline
10 is too low a number for the filename. Use e.g. 91, because one of the standard rules files is overruling it (e.g. 50-blah.rules).
And use SYMLINK+= instead of SYMLINK=, because udev may be creating sensible symlinks itself, and you'd be overruling it.
Offline
Hey brebs
10 is too low a number for the filename. Use e.g. 91, because one of the standard rules files is overruling it (e.g. 50-blah.rules)..
Thanks for the reply. I always thought that the lower numbered rules too precedent..... I should read the wiki more. I'll try this when I get home.
Cheers
GregW
Offline