On 07/25/2010 11:09 AM, Hiisi wrote: > 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 What are the permissions on bus/usb/001/026? From my testing, if you chown a symlink, it changes the permissions on what it points to, not on the link itself.... I did the following: % touch foo % ls -l foo -rw-rw-r-- 1 cummings cummings 0 2010-07-25 15:07 foo % ln -s foo bar % ls -l bar lrwxrwxrwx 1 cummings cummings 3 2010-07-25 15:08 bar -> foo % sudo chown root:wheel bar % ls -l foo bar lrwxrwxrwx 1 cummings cummings 3 2010-07-25 15:08 bar -> foo -rw-rw-r-- 1 root wheel 0 2010-07-25 15:07 foo > 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 -- Kevin J. Cummings kjchome@xxxxxxx cummings@xxxxxxxxxxxxxxxxxx cummings@xxxxxxxxxxxxxxxxxxxxxxx Registered Linux User #1232 (http://counter.li.org) -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines