udev rule/permissions question

Hiisi very-cool at rambler.ru
Sun Jul 25 15:09:43 UTC 2010


Dear users!
I need udev to make /dev/mymodem symlink when USB-modem is plugged in.
So, I have created this:
cat /etc/udev/rules.d/95-huawei-e15150.rules
SUBSYSTEM=="usb", ATTRS{serial}=="0000:00:03.3", SYMLINK+="mymodem"
GROUP="dialout"

Now when modem is plugged in the symlink /dev/mymodem is created but
permissions are wrong:
ls -l /dev/mymodem
lrwxrwxrwx. 1 root root 15 25.7. 19:01 /dev/mymodem -> bus/usb/001/026

I would like it to be owned by root:dialout.
Why 'GROUP' option doesn't work? Could anybody point me to solution of this?
TIA
-- 
Hiisi.
Registered Linux User #487982. Be counted at: http://counter.li.org/
--
Spandex is a privilege, not a right.


More information about the users mailing list