udev rule gives wrong group ownership
Posted
by
Tirithen
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Tirithen
Published on 2012-09-08T09:17:44Z
Indexed on
2012/09/08
9:50 UTC
Read the original article
Hit count: 264
I have added a udev rule for my Arduino, but the symlink gets the ownership "root root" instead of "root dialout".
$ cat /etc/udev/rules.d/47-Arduino.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="2341", ATTR{idProduct}=="0001", MODE="0666", SYMLINK+="arduino", GROUP="dialout"
$ ls -la /dev/ar*
lrwxrwxrwx 1 root root 15 sep 8 11:02 /dev/arduino -> bus/usb/003/007
$ ls -la /dev/bus/usb/003/007
crw-rw-r-- 1 root dialout 189, 262 sep 8 11:12 /dev/bus/usb/003/007
My user is a member of the group "dialout" but I still get "Permission Denied" error when I'm trying to communicate with the device.
There are also no problems when I'm using the "default" device "/etc/ttyACM3".
$ ls -la /dev/ttyACM3
crw-rw---- 1 root dialout 166, 3 sep 8 11:12 /dev/ttyACM3
I have tried to restart both the udev service and reboot my computer. How can I fix this?
© Ask Ubuntu or respective owner